adplus-dvertising
frame-decoration

Question

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

Answer: (a).the program terminates

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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