When you are writing equals() method, which other method or methods you need to override(Java)?
Sigiloso
"hashcode" is the right answer. Since equals and hashCode have are directly dependent on each other, so overriding one and not other will break their functionality.