Objects and Collections on Java related Questions and Answers


Question :   Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
1. java.lang.String
2. java.lang.Double
3. java.lang.StringBuffer
4. java.lang.Character
Answer :   3 - java.lang.StringBuffer  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter