Question
Which statement is true?
Answer: Option A
Was this answer helpful ?
Option A is correct. If the class specified in the catch clause does have subclasses, any
exception object that subclasses the specified class will be caught as well.
Option B is wrong. The error class is a subclass of Throwable and not Runtime Exception.
Option C is wrong. You do not catch this class of error.
Option D is wrong. An exception can be thrown to the next method higher up the call stack.
Was this answer helpful ?
Submit Solution