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 thread synchronization in java?
class a extends b { } class b extends a { } why java doesn't support cyclic pls explain me with example
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion
What are different types of access modifiers?
Can we overload final method in java?
What is finally in Java?
Is a class an object?
What does @override mean?
How to make a write-only class in java?
What is JFC?
How do you create an array in java?
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;