Are the equals() and hashCode() protected methods of object class?
No, the equals() and hashCode() are public methods of object class.
| Is This Answer Correct ? | 8 Yes | 0 No |
Can we override static methods in java?
Can an interface extands a class?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What is a map? What are the implementations of map?
What is a method vs function?
How to add menushortcut to menu item?
How many types of variables are there?
Tell me the Importent classes in net package?
what is meant by abstract class?
Difference between the paint() and repaint() methods?
Is java a pure object oriented language?
Differentiate between static and non-static methods in java.