Sollicitatievraag bij AND Digital

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