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 static function and static class?

4 Answers   HCL,


How should runtime errors be handled in c++?

0 Answers  


What is tellg () in c++?

0 Answers  


write a c++ program that gives output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using looping statement

2 Answers  


What is a storage class?

0 Answers  






Why null pointer is used?

0 Answers  


How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?

0 Answers  


Why namespace is used in c++?

0 Answers  


How to access a variable of the structure?

0 Answers  


what is COPY CONSTRUCTOR and what is it used for?

0 Answers  


Which software is best for programming?

0 Answers  


Is swift faster than go?

0 Answers  


Categories