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
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
How many types of classes are there in c++?
What is stream and its types in c++?
Ask to write virtual base class code?
Explain about Garbage Collector?
What is while loops?
How java is different from c and c++?
What is the full form of stl in c++?
Does c++ have a hash table?
Why the usage of pointers in C++ is not recommended ?
Why do we use classes in programming?
Describe new operator?
What is virtual destructor? What is its use?
Explain what is oop?
Explain what happens when a pointer is deleted twice?