Question 139

In Java, the root class of all exceptions and errors is:

  1. AException
  2. BRuntimeException
  3. CError
  4. DThrowable
Show answerHide answer

Correct answer: (D) Throwable

Explanation

Exception and Error both extend Throwable.

From DSSSB TGT Computer Science Full Mock Test 3

This is question 139 of DSSSB TGT Computer Science Full Mock Test 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.