Microsoft
98-363 · Question #13
In a try...catch...finally block, the purpose of finally is to execute code:
The correct answer is A. regardless of whether an exception occurs. See the full explanation below for the reasoning.
Question
In a try...catch...finally block, the purpose of finally is to execute code:
Options
- Aregardless of whether an exception occurs.
- Bthat logs an exception.
- Conly if an exception occurs.
- Donly if an exception does not occur.
How the community answered
(35 responses)- A77% (27)
- B11% (4)
- C9% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.