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 iterator and generic algorithms.
What jobs can you get with a c++ certification?
Can we sort map in c++?
When should I use unitbuf flag?
What is diamond problem in c++?
Explain Text Manipulation Routines?
why and when we can declar member fuction as a private in the class?
What c++ is used for?
What is double in c++?
What is binary object model?
Carry out conversion of one object of user-defined type to another?
Should I learn c++ c?
What is the difference between #define debug 0 and #undef debug?
Explain how a pointer to function can be declared in C++?
In what situations do you have to use initialization list rather than assignment in constructors?