Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 2)
2.
A default catch block catches
all thrown objects
no thrown objects
any thrown object that has not been caught by an earlier catch block
all thrown objects that have been caught by an earlier catch block
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 2 of 2.

Saumiya said:   1 decade ago
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.

Khine Su said:   1 decade ago
I couldn't exactly understand about it.

Satya said:   1 decade ago
Please give me detail info this question.


Post your comments here:

Your comments will be displayed after verification.