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 / himani
Option B is correct answer
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the general quetions are in DEna bank manager IT/System interviews?
What is jump statement in C++?
Does c++ have foreach?
Should the this pointer can be used in the constructor?
what is COPY CONSTRUCTOR and what is it used for?
How does a C++ structure differ from a C++ class?
Explain virtual class and friend class.
Differentiate between realloc() and free().
Which compiler does turbo c++ use?
What is the full form of dos?
What is the purpose of the "delete" operator?
What data encapsulation is in c++?
In what situations do you have to use initialization list rather than assignment in constructors?
What is microsoft c++ redistributable?
How do you sort a sort function in c++ to sort in descending order?