Frage im Vorstellungsgespräch bei AND Digital

What is the difference between equals() and hashCode()