Examlex

Solved

If an Exception Arises in a Catch Statement, and the Exception

question 3

True/False

If an exception arises in a catch statement, and the exception is of the type caught by the catch statement, then the catch statement catches the same exception. For instance, if the following catch statement first catches an ArithmeticException and, while executing, throws another ArithmeticException, it is able to catch the second ArithmeticException as well the first.
catch (ArithmeticException ex) {...}


Definitions:

Related Questions