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 are Encapsulation, Polymorphism and Inheritance?

5 Answers  


What is the difference between jsp and servlet?

6 Answers   Symphony,


Is java code slower than native code?

0 Answers  


basic difference b/w ALL types of JDBC driver.

1 Answers   Systematix,


What is formatted output?

0 Answers  






Explain inheritance in java?

0 Answers  


What is the final keyword denotes?

0 Answers  


Where are the card layouts used?

0 Answers  


Can you explain the Java thread lifecycle?

1 Answers  


What is the benefit of abstract class?

0 Answers  


What do you mean by multithreaded program?

0 Answers  


What is the difference between yield() and sleep()?

0 Answers  


Categories