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 / guest
Answer is b)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are the various oops concepts in c++?
What is overloading unary operator?
What is an object in c++?
Will the following program execute?
Explain the extern storage classes in c++.
What is the difference between passing by reference and passing a reference?
List different attributes in C++?
What problems might the following macro bring to the application?
What are the uses of static class data?
Explain storage qualifiers in c++.
why is c++ called oops? Explain
What is object in c++ example?
What are the general quetions are in DEna bank manager IT/System interviews?
what is C++ objects?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?