What are the Object and Class classes used for

The Object class is the highest-level class in the Java class hierarchy. The Class class isused to represent the classes and interfaces that are loaded by a Java program..

Showing Answers 1 - 1 of 1 Answers

Object class is the super class of all the classes in java.It defines methods which are inherited by all other classes.

Class class defines the behaviours and functionality for the classes in java.It also represent the classes and
interfaces that are loaded by a Java program.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions