Netcompany Interview Question

Explain the equals() contract and hashCode() contract