Discussion :: Objects and Collections
-
Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
Answer : Option C
Explanation :
java.lang.StringBuffer is the only class in the list that uses the default methods provided by class Object.
Be The First To Comment