Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

Why is it important to override hashCode() when you override equals()?

equals() will throw an exception if hashCode() is not overridden as well.
It is NOT important to override hashCode() when overriding equals().
Overriding equals without hashCode breaks the contract of hashCode().
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon