Goldman Sachs interview question

Why should you implement hashcode with equals in Java?

Interview Answer

Anonymous

27 Mar 2012

because equals calls HashCode