Pergunta de entrevista da empresa Revolut

Tell about equals () and hashCode() in Java objects.