What are the override methods in Object class?
Answers were Sorted based on User's Feedback
Answer / royal
There r total 11 methods r there..in that 11 only 5 methods
are override methods reaming r not override methods. becoz
those r final methods.
Override Methods
=====================
clone
toString
equals
hashCode
finalize
| Is This Answer Correct ? | 30 Yes | 1 No |
Answer / koushik
override the toString() method in object class.
| Is This Answer Correct ? | 13 Yes | 2 No |
Are private methods final?
What is :: operator in java?
Can we define private and protected modifiers for the members in interfaces?
what is Portal(web based online portal)?
When should the method invokelater() be used?
byte a=5; byte b=5; byte c=a+b; System.out.println(c); whats the o/p?
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,
can we have virtual functions in java?
What is class forname?
How to declare unique ArrayList ?
Can vector have duplicates in java?
Can we convert stringbuilder to string in java?