Q.

How many finally blocks can there be in a try/catch structure?

A. There must be 1.
B. There can be 1 following each catch block.
C. There can be 0 or 1 following the last catch block.
D. There is no limit to the number of finally blocks following the last catch block.
Answer» C. There can be 0 or 1 following the last catch block.
4.6k
0
Do you find this helpful?
16

View all MCQs in

Java Programming

Discussion

No comments yet