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 files in c++?
What is a terminating character in c++?
What is the use of setfill in c++?
How do you add an element to a set in c++?
What is endianness?
What is operators in c++?
What is ostream in c++?
What is double in c++?
What is the best c++ compiler?
What do you mean by funtion prototype?
When should we use container classes instead of arrays?
What happens when you make call 'delete this;'?
How new/delete differs from malloc()/free?
Why was c++ made?
What is the syntax for a for loop?