nerdexam
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)
  • A
    77% (27)
  • B
    11% (4)
  • C
    9% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 98-363 Practice