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 selection structure is referred to as a single-alternative selection structure because it requires one or more actions to be taken only when its condition evaluates to true.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

If a field may require more than 255 characters and spaces to effectively describe the data, select a ________ data type

A) Short Text B) Attachment C) Long Text D) AutoNumber

Computer Science & Information Technology

The first two versions of SNMP, SNMPv1 and SNMPv2, used ____ that acted like a password to allow or deny access to the information that was collected.

A. community strings B. management information base (MIB) C. packet sniffers D. flash memories

Computer Science & Information Technology

An administrator has a drive working properly under Linux and moves it to a Windows server. Which of the following should be performed to ensure Windows can read the disk?

A. Format the drive with ext2. B. Format the drive with ext4. C. Format the drive with NTFS. D. Format the drive with UFS.

Computer Science & Information Technology