The
Object.equals
Method
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
previous
|
start
|
next
.... [Slide 22] ....