Antra Interview Question

How hashCode(), equals() implemented, why override them?