Downcasting enables:

a. A derived-class object to be treated as a base-class object.
b. A base-class object to be treated as a derived-class object.
c. Making a base-class pointer into a derived-class pointer.
d. Making a derived-class pointer into a base -class pointer.

c. Making a base-class pointer into a derived-class pointer.

Computer Science & Information Technology

You might also like to view...

Match the following terms to their meanings:

I. Caption property A. Data type that holds one of only two values II. Default value B. An property that determines what kind of data will be stored III. Attachment in a field IV. Data type C. The value that is automatically displayed in a new record V. Yes/No before data is entered D. Displays alternate text for database objects E. Data type used to store pictures What will be an ideal response?

Computer Science & Information Technology

Use the ________ to customize the appearance and functionality of your computer and add or remove programs

A) Control Panel B) Index C) Quick access list D) Personal folder

Computer Science & Information Technology