AdMax Local Interview Question

The contract between Equals and hashcode in Java