when:

a. The constructor in the base class is virtual.
b. delete is used on a base-class pointer to a derived-class object.
c. delete is used on a derived-class object.
d. A constructor in either the base class or derived class is virtual.


b. delete is used on a base-class pointer to a derived-class object.

Computer Science & Information Technology

You might also like to view...

Can a stack be used to implement a queue data structure?

a. Yes. b. Yes, if the stack is implemented using a double linked list. c. No. d. Yes, if the stack has an array.

Computer Science & Information Technology

The ________ is an early computer created in 1951, which was used to predict election results

A) UNIVAC B) ENIAC C) Colossus D) Harvard Mark 1

Computer Science & Information Technology

The Align attribute of a Flash movie controls how the Flash movie displays in the specified W and H dimensions.

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

Computer Science & Information Technology

The exchange of information for the MK is based on a ____.

A. group key handshake B. PTK handshake C. GTK encryption D. four-way handshake

Computer Science & Information Technology