What is the root class for all Java classes?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of using rmisecuritymanager in rmi?

566


Write a program to print count of empty strings in java 8?

538


In the below example, how many string objects are created?

557


Explain java coding standards for variables ?

671


what are different ways in which a thread can enter the waiting state? : Java thread

494






What does n mean in java?

504


What is literal example?

564


What is an interoperable application in java ?

586


What is a superclass?

926


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

511


In java, how we can disallow serialization of variables?

554


What are the elements of java?

562


How to convert string to char and vice versa?

515


What is the purpose of the strictfp keyword?

609


Can we declare the static variables and methods in an abstract class?

546