-
What will be the step of the interpreter in a jump statement when an exception is thrown?
-
- The interpreter throws an error
- The interpreter jumps to the nearest enclosing exception handler
- The interpreter stops its work
- The interpreter throws another exception
- None of these
Correct Option: B
When an exception is thrown in a jump statement, the interpreter jumps to the nearest enclosing exception handler, which may be in the same function or up the call stack in an invoking function.