The "==" operator can be used to test primitive values for equality, and can also be used to determine if two object references point to the same underlying object.
For Java objects, the equals meth...
Answered by: laxminarsaiah on: Dec 27th, 2011
equals() method is expected to check for the equivalence the contents of the objects.
Whereas the == operator is expected to check the actual object instances are same or not."j...
The "==" operator can be used to test primitive values for equality, and can also be used to determine if two object references point to the same underlying object. For Java objects, the equals meth...
equals() method is expected to check for the equivalence the contents of the objects. Whereas the == operator is expected to check the actual object instances are same or not."j...