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

How to avoid memory leak in java?

596


Is hashset ordered java?

586


What exactly is methodology?

480


How an object is serialized in java?

526


What is meant by interface?

563






What is an immutable class?

614


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

537


How to print an arraylist in java?

496


Why hashset is used in java?

534


What is the Scope of Static Variable?

728


What is the difference between a static and a non-static inner class in java programming?

529


Is alive and join method in java?

540


How do you use compareto method?

529


How do you take thread dump in java?

553


What is a java developer salary?

544