CS 251 Intermediate Programming Overriding equals and hashCode

relation on non-null object references. For any non-null objects x and y Re exive {x.equals(x) returns true Symmetric {x.equals(y) i y.equals(x) Transitive { if x.equals(y) and y.equals(z), then x.equals(z) Consistent { multiple calls to equals with same x and y give the same value (unless the objects have changed) x.equals(null) returns false ................
................