If you are overriding equals() method of a class, what other methods you might need to override ?

If you are overriding equals() method of a class, what other methods you might need to override ?

If you are overriding equals() method of a class, then the other methods you might need to override is hashCode(). 

By:Jalees
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher