Press "Enter" to skip to content

Learn why to override toString(), equals() and hashCode() methods of Object class in Java



Learn why we need to override tostring(), equals() and hashCode() methods of Object class of Java in classes created by us. Understand the importance of hash code object comparison in the context of HashSet and LinkedHashSet.

Leave a Reply

avatar
  Subscribe  
Notify of