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 are invisible components?.
Can a class declared as private be accessed outside it’s package?
What does sprintf return?
What is a boolean expression in java?
Differece between class and generic class?
How many types of variables are there?
What is replaceall in java?
Write a program to reverse a number in java?
What does the exclamation mark mean in java?
Where is singleton pattern used?
When will we prefer to use set and list in java and why?
Convert a BST into a DLL and DLL to BST in place.
What does %4d mean in java?
Can we use string in switch case in java?
Tell me are there implementations for sorting and searching in the java libarary?