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 / roshanpr
d
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What are the operators in c++?
Explain the difference between realloc() and free() in c++?
Why is null pointer used?
How does class accomplish data hiding in c++?
What does ctime() do?
Write a program to find the Fibonacci series recursively.
What is c++ virtual inheritance?
How the endl and setw manipulator works?
What is a rooted hierarchy?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
Why Pointers are not used in C++?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
the maximum length of a character constant can be a) 2 b) 1 c) 8
What is encapsulation in c++?
What is pointer to member?