Assigning a derived class reference to a base class variable is safe:

a. because the derived class has an object of its base class.
b. because the derived class is an object of its base class.
c. only when the base class is abstract.
d. only when the base class is concrete.

b. because the derived class is an object of its base class.

Computer Science & Information Technology

You might also like to view...

Font formatting options that are not located on the Ribbon, such as Small Caps, are available in the Paragraph dialog box

Indicate whether the statement is true or false

Computer Science & Information Technology

Business Continuity Planning is interested in ________ disasters if possible

A) planning B) reacting to C) recognizing D) avoiding

Computer Science & Information Technology