MCQ Practice

If an exception is thrown and no catch block matches the type of the thrown parameter, then _____

A

the program terminates

B

the first catch block is executed

C

the last catch block is executed

D

the program proceeds with the code following the catch blocks

Correct Answer: A