Frage im Vorstellungsgespräch bei Wissen Infotech

What is the contract between hashCode and equal method