Question d’entretien chez Barclays

What is a difference between equals and hashcode.