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 memory leak in java?

0 Answers  


How do you detect memory leaks?

0 Answers  


Describe how to implement singleton design pattern in struts.

0 Answers  


What does this mean java?

0 Answers  


What is the difference between throw and throws in java?

0 Answers  






Is it safe to install java on my computer?

0 Answers  


explain autoboxing in java?

0 Answers  


what is the use of clone() in real time scenario?

2 Answers   Quinnox,


Is binary a low level language?

0 Answers  


What is the immediate parent class of the Applet class?

1 Answers  


Can we have multiple classes in a single file?

0 Answers  


What is the internal implementation of set in java?

0 Answers  


Categories