Tag: Why do I need to override the equals and hashCode methods in Java?