Which one of the following describes characteristics of
"protected" inheritance?
a) The base class has access only to the public or protected
members of the derived class.
b) The derived class has non-public, inheritable, access to
all but the private members of the base class.
c) The derived class has access to all members of the base
class.
d) The private members of the base class are visible within
the derived class.
e) Public members of the derived class are privately
accessible from the base class.
Answer Posted / ravi
the right answer is b
option <b>
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a lambda function c++?
Which is best ide for c++?
What is flush () in c++?
What is scope operator in c++?
Is there a sort function in c++?
What do you mean by translation unit?
What is the type of this pointer in c++?
What are the advantages of using const reference arguments in a function?
Why was c++ created?
Why c++ is the best language?
Define private, protected and public access control.
Is ca high or low level language?
Explain the operation of overloading of an assignment operator.
What are the uses of pointers?
What are the advantages of c++?