Question d’entretien chez Wells Fargo

Why we need override hashcode and equals method etc