Domanda di colloquio di AND Digital

What is the difference between equals() and hashCode()