Goldman Sachs interview question

Why should you implement hashcode with equals in Java?

Interview Answer

Anonymous

Mar 27, 2012

because equals calls HashCode