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
What are maps in c++?
Which operator cannot be overloaded c++?
What are c++ data types?
Explain what is class definition in c++ ?
What character terminates all character array strings a) b) . c) END
Where Malloc(), Calloc(), and realloc() does get memory?
What is the full form of india?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
Who discovered c++?
Describe the setting up of my member functions to avoid overriding by the derived class?
Where the memory to the static variables is allocated?
What is pointer to member?
How much do c++ programmers make?
What is the full form nasa?
When must you use a pointer rather than a reference?