Java SE 8 Programmer I — Question 203
Which three statements are true about exception handling? (Choose three.)
Answer options
- A. Only unchecked exceptions can be rethrown.
- B. All subclasses of the RuntimeException class are not recoverable.
- C. The parameter in a catch block is of Throwable type.
- D. All subclasses of the RuntimeException class must be caught or declared to be thrown.
- E. All subclasses of the RuntimeException class are unchecked exceptions.
- F. All subclasses of the Error class are not recoverable.
Correct answer: C, E, F
Explanation
The correct answer includes C, which is true because the catch block can catch any Throwable type. E is accurate as all subclasses of RuntimeException are indeed classified as unchecked exceptions, and F is correct because subclasses of the Error class are not meant to be handled and are thus not recoverable. Options A, B, and D are incorrect as they make misleading claims about exception handling requirements.