Domanda di colloquio di Revolut

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