Difference between Equals and ==

Equals : Determines whether the specified Object is equal to the current Object and also check the reference of object. Handles NULL

== : Can not handle null, checks object with their type and value.

0 comments:

Post a Comment