Which of the following statements about inheritance is true if memberAccessSpecifier is protected?

A. The private members of the base class become protected members of the derived class.
B. The derived class can directly access any member of the base class.
C. The public members of the base class become protected members of the derived class.
D. The protected members of the base class become private members of the derived class.

Answer: C

Computer Science & Information Technology

You might also like to view...

The ________ is used to connect drives to the motherboard

A) RAM B) SATA C) EIDE D) BIOS

Computer Science & Information Technology

__________ aggregates log and event data from virtual and real networks, applications, and systems. This information is then correlated and analyzed to provide real-time reporting and alerting on information/events that may require intervention or other type of response.

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

Computer Science & Information Technology