What is the root class for all Java classes?
Answers were Sorted based on User's Feedback
Answer / keerthi
Any class that is written in java is aby default sub class to object class
| Is This Answer Correct ? | 19 Yes | 2 No |
Answer / srinivas
object class is the root class for all java classes
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / bharath kumar indla
The Object class, in the java.lang package, sits at the top of the class hierarchy tree. Every class is a descendant, direct or indirect, of the Object class.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is command line used for?
What is light weight component?
What is constant in programming?
What is finally and finalize in java?
What is the new line character?
Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?
When is the garbage collection used in Java?
How many objects are created for a singleton class
What is a vararg?
What an i/o filter?
Say any two properties in beans?
What do you understand by synchronization?