Pergunta de entrevista da empresa Cognizant

How to override hashcode and equals method