When an exception occurs inside a catch block, what happens?
- The exception is caught by the same catch block
- The exception is caught by the next catch block in the group
- It will be passed on to the next try / catch sequence for processing
- The execution will terminate
Answer:
Option b: The exception is caught by the next catch block in the group
Explanation Here
0 Comments