Answered Questions

  • What is the difference between == & .equals

    JBUG

    • Jan 29th, 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...

    laxminarsaiah

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