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

The purpose of the Finally section in an exception handler is to:
A . Execute code regardless of whether an exception is thrown.
B . Conclude the execution of the application.
C . Execute code only when an exception is thrown.
D . Break out of the error handler.

Answer: A

Explanation:

By using a finally block, you can clean up any resources that are allocated in a try block, and you can run code even if an exception occurs in the try block. Typically, the statements of a finally block run when control leaves a try statement. The transfer of control can occur as a result of normal execution, of execution of a break, continue, goto, or return statement, or of propagation of an exception out of the try statement.

Latest 98-361 Dumps Valid Version with 164 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments