Question: If an exception occurs in a try block, and does not match any of the catch blocks, what happens to the program? A . the

If an exception occurs in a try block, and does not match any of the catch blocks, what happens to the program?
A. the program continues running after the end of the try block
B. the program continues running after the last catch block
C. the program cannot compile
D. the program crashes
E. none of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!