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 the 8 data types in java?
What is polymorphism in java? What are the kinds of polymorphism?
What is a flag and how does it work?
What is a “stateless” protocol ?
What are the restrictions imposed by a Security Manager on Applets?.
How does linkedlist work in java?
What are three advantages of using functions?
What is the use of a conditional inclusion statement in Java ?
What are different types of multitasking?
What is java util function?
Can we make the abstract methods static in java?
What is the benefit of singleton pattern?
Is there any difference between nested classes and inner classes?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
how to open and edit XML file in Weblogic???