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 |
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What is type casting?
how to create daemon thread in java?
What does s mean in regex?
What's the base class in java from which all classes are derived?
What is a method declaration?
Distinguish between a predicate and a function?
What access modifiers can be used for variables?
What classes of exceptions, thrown by a throw statement?
How do you achieve singleton?
Is it compulsory to have atleast one abstract method in abstract class?
Is array dynamic in java?