Multiple Choice
An advantage of using inheritance with exceptions is:
A) The ability to catch related errors easily.
B) Allowing catch statements to be imported into classes.
C) The ability to explicitly test for derived class objects individually.
D) The simplification of destructor calls for objects.
Correct Answer:

Verified
Correct Answer:
Verified
Q5: To rethrow an exception, the exception handler
Q6: Catch blocks are not required to contain:<br>A)
Q7: To initialize a unique_ptr, you can use
Q8: Select the false statement. The new operator:<br>A)
Q9: Which statement about class unique_ptr (of the
Q11: An exception:<br>A) Terminates program execution.<br>B) Terminates the
Q12: Exception handling may allow a program to:<br>A)
Q13: Exception handling should not be used:<br>A) As
Q14: Once an exception is thrown, when can
Q15: Which class indicates that an error occurred