The purpose of the Catch section in an exception handler is to:

The purpose of the Catch section in an exception handler is to:

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.



Leave a Reply 5

Your email address will not be published. Required fields are marked *


mandisa

mandisa

C is the correct answer

mounier

mounier

A is correct answer ro handle Error

DB7

DB7

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!