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 yield () in java?
What is the difference between length and length() method in java?
What is downcasting?
What is the difference between multitasking and multithreading in Java
What is return null in java?
What is the difference between synchronized and synchronized block?
what is predefined function in java?
Can a class be declared as static?
What are the two categories of data types in the java programming language?
Difference between default and protected access specifiers?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
Can Exception handling we can handle multiple catch blocks?
What is stored procedure. How do you create stored procedure ?
Can you achieve runtime polymorphism by data members?
What is a char in java?