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 type safety in java?
What is collection class in java? List down its methods and interfaces.
What does compareto () do in java?
what are three ways in which a thread can enter the waiting state? : Java thread
What is callablestatement? How you can call stored procedure to pass in parameter?
What methodology can be employed to locate substrings inside a string?
What are the three types of design patterns?
What is difference between static class and singleton pattern?
what is the difference between Object Based Language and Object Oriented Language?
How do you identify if jvm is 32-bit or 64-bit from java program?
What are the topics in core java?
What is the use of singleton?
Why java is call by value?
Tell me are there implementations for sorting and searching in the java libarary?
Explain about static nested classes in java?