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
Explain one method to process an entire string as one unit?
What is the difference between a definition and a declaration?
How the virtual functions maintain the call up?
Can you sort a set c++?
What is recursion?
What is an operator function? Describe the function of an operator function?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What is difference between c++ 11 and c++ 14?
What are the uses of typedef in a program?
Describe Trees using C++ with an example.
How will you call C functions from C ++ and vice-versa?
What are pointer-to-members in C++? Give their syntax.
what are Operators and explain with an example?
What is == in programming?
What is the two main roles of operating system?