You are not logged in.

#1 2015-08-13 04:05:43

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Nested Try Blocks:

Programming Languages Quizzes Exception Handling

Question:
In nested try block, if inner catch handler gets executed, then______________

Option A):
Compiler will jump to the outer catch handler and then executes remaining executable statements of main()
Option B):
Compiler will execute remaining executable statements of outer try block and then the main()
Option C):
Program execution stops immediately
Option D):
Outer catch handler will also get executed

Correct Answer is Option B):
Compiler will execute remaining executable statements of outer try block and then the main()


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-08-13 04:05:43

Advertisement
Ads By Google

Re: Nested Try Blocks:



\n

Board footer