Wissen Infotech Interview Question

What is the contract between hashCode and equal method