Java OCA OCP Practice Question 62

Question

Which of the following are true?

  • A. The Class class is the superclass of the Object class.
  • B. The Object class is final.
  • C. The Class class can be used to load other classes.
  • D. The ClassLoader class can be used to load other classes.


C and D.

Note

The Object class is the highest-level class in the Java 2 API and therefore cannot be a subclass of Class or final.




PreviousNext

Related