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
Can comments be nested?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What happens when the extern "c" char func (char*,waste) executes?
Describe the process of creation and destruction of a derived class object?
Is there a sort function in c++?
Is linux written in c or c++?
What is using namespace std in cpp?
What is the difference between map and hashmap in c++?
Which function cannot be overloaded c++?
What is nested class in c++?
How is data hiding achieved in c++?
What are the various storage classes in C++?
Define whitespace in C++.
Is c++ faster than c?
What is null pointer and void pointer?