Question d’entretien chez Aptara

why hashmap uses hashcode and equals method