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...

In the accompanying figure, item 2 is a ____ brush.

A. hard round B. soft round C. hard square D. soft knife

Computer Science & Information Technology

Globalsoftware developers have to ______ their productsto a specific market before distribution.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A validation list can be created by typing a list of names

Indicate whether the statement is true or false

Computer Science & Information Technology

What layer protocols operate as the front end to the lower-layer protocols in the TCP/IP stack?

A. Internet B. Network C. Transport D. Application

Computer Science & Information Technology