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 the purpose of methodology?
Can we have return statement in finally clause? What will happen?
What happens to a static var that is defined within a method of a class?
How many arguments can a method have java?
Why are constructors used?
What is difference between an object and a class?
Can a class be protected in java?
What is difference in between java class and bean?
Can we override constructor in java?
Are global variables initialized to zero?
Does unicode support all languages?
Is final static java?
Name container classes in java programming?
What is an example of a boolean?
Does a class inherit the constructors of its superclass in java programming?