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 is doubly linked list in c++?

0 Answers  


What is DlgProc?

0 Answers   C DAC,


Is there any difference between dlearations int* x and int *x? If so tell me the difference?

16 Answers   Lason,


What is data binding in c++?

0 Answers  


What is a static element?

0 Answers  






Can java be faster than c++?

0 Answers  


What are the four partitions in which c++ compiler divides the ram?

0 Answers  


program in c++ to input digits and print in words

1 Answers   Microsoft,


What is the difference between new() and malloc()?

0 Answers  


Explain register storage specifier.

0 Answers  


How many pointers are required to reverse a link list?

5 Answers   CTS,


Why was c++ created?

0 Answers  


Categories