Solved

If Class a Is Derived from Class B, and a Virtual

Question 13

Multiple Choice

If class A is derived from class B, and a virtual function in class B throws an exception, then the overridden version of that function in class A must


A) not throw any exceptions
B) have an exception specification that is a subset of the exception specification of the base class B
C) not throw any exceptions that the function in class B might throw
D) all of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions