Domanda di colloquio di BlackRock

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