IF YOU’RE OVERRIDING THE METHOD EQUALS() OF AN OBJECT, WHICH OTHER METHOD YOU MIGHT ALSO CONSIDER?

Chris Anderson

Total Post:197

Points:985
Posted by  Chris Anderson
Java 
 2080  View(s)
Ratings:
Rate this:
  1. Chris Anderson

    Post:197

    Points:985
    If you’re overriding the method equals() of an object, which other method you might also consider?

    hashCode()

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!