Frage im Vorstellungsgespräch bei CoreFiling

Explain the difference between .equals() and .hashCode() in Java.