Treatwell interview question

difference between equals() and hashcode() how works the browser