SE450
:
The Object.equals Method
[29/86]
Object.equals
tests for identity:
public class Object
{
public boolean equals(Object obj)
{
return this == obj;
}
...
}
Override
equals
if you don't want to inherit that behavior