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


If a class object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is_________

[A]. a parent class of the thrown class
[B]. a child class of the thrown class
[C]. either (a) or (b)
[D]. neither (a) nor (b)

Answer: Option A


No answer description available for this question.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.