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 i have abstract class with no abstract methods?
Is cout buffered?
What is thread life cycle in java?
Is there memory leaks in java?
Is sizeof a keyword in java programming?
what is use of marker interface? give me good example?
what is difference between servletconfig and servletcontext?
What is the purpose of the file class in java programming?
What is the purpose of return statement?
Difference between linkedlist and arraylist.
What is downcasting?
Difference between current previous versions of Java?