1.

Is There Any Root Class For All Classes Declared In A Java Program?

Answer»

OBJECT” class is the ROOT class of all classes in java. Any class WRITTEN in a java program extends the object class present in the default java.lang package.

“Object” class is the root class of all classes in java. Any class written in a java program extends the object class present in the default java.lang package.



Discussion

No Comment Found