Frage im Vorstellungsgespräch bei BlackRock

What is the relationship between hashcode function and the equals function in java?