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


Please Help Members By Posting Answers For Below Questions

Write about the stack unwinding?

630


What is public, protected, private in c++?

657


Difference between class and structure.

715


an integer constant must have atleast one a) character b) digit c) decimal point

556


Explain stack unwinding.

642






What is c++ w3school?

636


What can c++ be used for?

585


Which software is used to run c++ program?

554


What is prototype for that c string function?

694


What is iterator in c++?

622


What is virtual methods?

662


Which field is used in c++?

641


When are exception objects created?

613


What is difference between malloc()/free() and new/delete?

651


What is called array?

624