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
Ask to write virtual base class code?
What is #include iostream?
Explain linked list using c++ with an example?
Can create new c++ operators?
Can constructor be static in c++?
What is a local reference?
What is difference between c++ and c ++ 14?
What is unary operator? List out the different operators involved in the unary operator.
What type of question are asked in GE code writing test based on c++ data structures and pointers?
Specify some guidelines that should be followed while overloading operators?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What are abstract data types in c++?
What is c++ in english?
why is iostream::eof inside a loop condition considered wrong?
What operators can you overload in c++?