When we test equality of two object variables, we compare the references to those objects
Remember, variables hold references to objects, and so whenever we compare two objects, we’re comparing object references.
- 7. Types, Equality, Conversion and All That Jazz: Serious types
- Publisher: O'Reilly Media, Inc.
- Released: March 2014
When does equality operand return true comparing two objects?