Respuesta :

The protected members of a base class are similar to the private members, but derived classes can access them. The right answer is C.

Protected members can be thought of as members whose accessibility from outside the class is nil; they can only gain access via derived classes. Private classes are exempt from this rule. It should be noticed that protected members of a base class are similar to private members, except that derived classes may access them. Protected members of a class are fundamentally equivalent to its private members, despite the fact that derived classes can access them.Whether or not the derived class has access to the protected members of the base class depends on the base access specification that is applied when the base class's protected members are inherited by the derived classes. Protected members of a class are similar to private members in that they cannot be accessed from outside the class. They differ from private members in that derived classes and child classes can access them.

protected members of a base class are like _, but they may be it:

accessed by derived classes.

a. constructor functions

b. static members

c. private members

d. public members

To learn more about private and protected member, visit:

https://brainly.com/question/19341222

#SPJ4

ACCESS MORE

Otras preguntas