in reply to Re^2: OO Identity Crisis
in thread OO Identity Crisis
Java solves this with the Object class, which all objects derive from. It contains the "equals" method which returns the address of the object (IIRC) by default and can be overloaded by the child.
|
|---|