Google News
logo
Java Collections - Interview Questions
Explain override equals() method
The equals method is used to check the similarity between two objects. In case if the programmer wants to check an object based on the property, then it needs to be overridden.
Advertisement