Are the equals() and hashCode() protected methods of object class?
Answer Posted / javamasque
No, the equals() and hashCode() are public methods of object class.
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is static import in java?
How to solve the problem of generating the unique hash keys with hash function?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What 4 doubled?
Name component subclasses that support painting in java programming?
Difference between stack and queue?
Is map sorted in java?
Can we declare the static variables and methods in an abstract class?
What is an escape character in java?
Is integer immutable in java?
Can a class be declared as static?
How does java pattern compile work?
What is a substring of a string?
How we can declare a static variable?
What does arrays sort do in java?