Pergunta de entrevista da empresa American Modern Insurance

What’s the difference between .equals() and hash code