Pergunta de entrevista da empresa Wells Fargo

Why we need override hashcode and equals method etc