Computer Science - Object Oriented Programming Using C++ - Discussion
Read more: "When ambition ends, happiness begins."
- (Proverb)
2.
A default catch block catches
[A].
all thrown objects [B].
no thrown objects [C].
any thrown object that has not been caught by an earlier catch block [D].
all thrown objects that have been caught by an earlier catch block
Answer: Option C
Explanation:
No answer description available for this question.
Satya said:
(Mon, May 23, 2011 02:04:13 AM)
Please give me detail info this question.
Khine Su said:
(Sat, Oct 8, 2011 12:52:47 PM)
I couldn't exactly understand about it.
Saumiya said:
(Sun, May 20, 2012 10:52:44 AM)
The other thrown objects will be catched by the catch written for corresponding try. Default catch is used to catch the exceptions for which user have not made a guess and applied in try block.