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 / guest
Answer is b)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What do you understand by pure virtual function? Write about its use?
What is setf in c++?
What is difference between n and endl in c++?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What is the use of bit fields in structure declaration?
What methods can be overridden in java?
Define a pointer to a data member of the type pointer to pointer?
Explain the register storage classes in c++.
Is c++ vector a linked list?
What is c++ in english?
What is the iunknown interface?
How do you flush std cout?
Explain "const" reference arguments in function?
What is one dimensional array in c++?
What is virtual methods?