DEVFYI - Developer Resource - FYI

What are the Object and Class classes used for?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

349. 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 is used to represent the classes and interfaces that are loaded by a Java program.

(Continued on next question...)

Other Interview Questions