Pregunta de entrevista de Prospection

Explain why a class needs an equals and a hashcode implementations