AT&T Interview Question

hash code vs equals method