Question: If you include three statements in a try block and follow the block with three Catch blocks, and the second statement in the try block
If you include three statements in a try block and follow the block with three Catch blocks, and the second statement in the try block throws an exception, Then___________.
A. The first catch block executes
B. The first two catch blocks execute
C. Only the second catch block executes
D. The first matching catch block executes
Step by Step Solution
3.39 Rating (165 Votes )
There are 3 Steps involved in it
D The fi... View full answer
Get step-by-step solutions from verified subject matter experts
