Report Bug

QusWhat will be the step of the interpreter in a jump statement when an exception is thrown? Qusजब एक अपवाद फेंका जाता है तो जंप स्टेटमेंट में इंटरप्रेटर का स्टेप क्या होगा?


A. The interpreter stops its work
B. The interpreter throws another exception
C. The interpreter jumps to the nearest enclosing exception handler
D. The interpreter throws an error


Solution
C. The interpreter jumps to the nearest enclosing exception handler



Explanation
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.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad