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.

Answers were Sorted based on User's Feedback



Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / guest

Answer is b)

Is This Answer Correct ?    7 Yes 0 No

Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / ravi

the right answer is b
option <b>

Is This Answer Correct ?    2 Yes 0 No

Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / himani

Option B is correct answer

Is This Answer Correct ?    2 Yes 0 No

Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / roshanpr

d

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More C++ General Interview Questions

What are friend classes? What are advantages of using friend classes?

0 Answers  


Can a list of string be stored within a two dimensional array?

0 Answers  


Which compiler does turbo c++ use?

0 Answers  


Out of fgets() and gets() which function is safe to use?

0 Answers  


Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

0 Answers  


Difference between Operator overloading and Functional overloading?

10 Answers   HP,


Will the inline function be compiled as the inline function always? Justify.

1 Answers  


Is ca high or low level language?

0 Answers  


What are different types of loops in c++?

0 Answers  


What's the hardest coding language?

0 Answers  


What is virtual base class?

0 Answers  


What is function declaration in c++ with example?

0 Answers  


Categories