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 / ravi
the right answer is b
option <b>
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain bubble sorting.
What does std :: flush do?
What is the main function c++?
What is a map in c++?
What is the latest c++ standard?
What does count ++ do in c++?
What is static class data?
Can user-defined object be declared as static data member of another class?
what is Loop function? What are different types of Loops?
What is oops in c++?
Write is a binary search tree? Write an algo and tell complexity?
Which one is a preferred language C or C++? Why?
What is c++ 11 and c++ 14?
What is istream c++?
What are arrays c++?