The purpose of the Catch section in an exception handler is to:
A.
Break out of the error handler.
B.
Conclude the execution of the application.
C.
Execute code only when an exception is thrown.
D.
Execute code regardless of whether an exception is thrown.
C is the correct answer
A is correct answer ro handle Error
C is correct. The “error handler” is the actual Catch statement. Without the Catch statement, there is no ‘error handler’, thus, the primary reason for the Catch is to handle the error. Alternatively, To break out of the error handler, would be ‘Return’, Break’, ‘Throw’. If i understood the question correctly!
A
C