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

b. have an exception specification that is a subset of the exception specification of the base class B

Computer Science & Information Technology

You might also like to view...

The navigation buttons allow you to:

A) sort records. B) delete records. C) edit records. D) browse records.

Computer Science & Information Technology

To create a digital signature, a sender first takes the original plaintext message and runs it through a_______, which is a mathematical calculation that gives the message a_______.

a) key function, key value. b) signature function, signature value. c) hash function, hash value. d) None of the above.

Computer Science & Information Technology