Nested try block inner catch handler gets executed - Exception Handling

Q.  In nested try block, if inner catch handler gets executed, then _____________ .
- Published on 17 Jul 15

a. Program execution stops immediately.
b. Outer catch handler will also get executed.
c. Compiler will jump to the outer catch handler and then executes remaining executable statements of main().
d. Compiler will execute remaining executable statements of outer try block and then the main().

ANSWER: Compiler will execute remaining executable statements of outer try block and then the main().

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)