Which class is super class of every class

Overriding equals which method consider override too

Answer : If you overridden equals() method which is available in Ojbect then according to specification you will have to override hashCode() as well.

Leave a Reply

Your email address will not be published. Required fields are marked *