GeekInterview.com
Answered Questions

what is the difference between == & .Equals

Asked By: Interview Candidate | Asked On: Aug 18th, 2005

Answered by: JBUG on: Jan 28th, 2012

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...

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: