Pregunta de entrevista de WIT Software

What is the difference between equals and hashcode and what do they do?