Pregunta de entrevista de Netcompany

Explain the equals() contract and hashCode() contract