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
Mention the ways in which parameterized can be invoked. Give an example of each.
What is istream c++?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
When does the c++ compiler create temporary variables?
What are the basics of local (auto) objects?
What is split a string in c++?
Which is best ide for c++?
What is the use of :: operator in c++?
Is sorted c++?
What is a rooted hierarchy?
Explain how the virtual base class is different from the conventional base classes of the opps.
How does a C++ structure differ from a C++ class?
What are c++ manipulators?
what is upcasting in C++?
what is COPY CONSTRUCTOR and what is it used for?