Professional Documents
Culture Documents
Comparing Objects
Comparing Objects
• == Two objects are equal if they have the same attributes and
value and are objects of the same class.
• === objects are identical if and only if they refer to the same
object.