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
Write about the stack unwinding?
What is public, protected, private in c++?
Difference between class and structure.
an integer constant must have atleast one a) character b) digit c) decimal point
Explain stack unwinding.
What is c++ w3school?
What can c++ be used for?
Which software is used to run c++ program?
What is prototype for that c string function?
What is iterator in c++?
What is virtual methods?
Which field is used in c++?
When are exception objects created?
What is difference between malloc()/free() and new/delete?
What is called array?