Java OCA OCP Practice Question 45

Question

Which of the following are true about the Error and Exception classes?

  • A. Both classes extend Throwable.
  • B. The Error class is final and the Exception class is not.
  • C. The Exception class is final and the Error class is not.
  • D. Both classes implement Throwable.


A.

Note

Throwable is the superclass of both Error and Exception.




PreviousNext

Related