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.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad