Tag: equals and hashCode in java
-
Why do you need to override equals and hashCode methods in Java?
If you have used some data structures such as a hash map or a hash set for storing your custom object, you probably have to write your own implementation of […]