Are the equals() and hashCode() protected methods of object class?



Are the equals() and hashCode() protected methods of object class?..

Answer / javamasque

No, the equals() and hashCode() are public methods of object class.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the purpose of tostring() method in java?

0 Answers  


Can applet in different page/s communicate with each other?

1 Answers  


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion

2 Answers   SAP Labs,


What is remote method invocation (rmi)?

0 Answers  


Can a final method be overloaded?

0 Answers  






What are the three parts of a lambda expression? What is the type of lambda expression?

0 Answers  


What do you mean by inner class in java?

0 Answers  


Tell me the Importent classes in net package?

0 Answers  


What happens to the Exception object after handling an exception?

0 Answers  


How many digits is int32?

0 Answers  


what is difference between method overloading & method overridding with example?

4 Answers   IBM,


Can we declare a class as static?

0 Answers  


Categories