OpenCrowd Interview Question

What is the hashcode method?

Interview Answer

Anonymous

May 17, 2016

Know the purpose of hashcode and equals. The interviewer thought that all classes should override the hashCode function. Wrong!

1