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
What is encapsulation in C++? Give an example.
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What is the C-style character string?
Explain queue. How it can be implemented?
What is an html tag?
What are the various storage classes in C++?
How do you establish a has-a relationship?
How java is different from c and c++?
Which software is best for coding?
Explain stack unwinding.
List the advantages of inheritance.
What is an arraylist c++?
How do you remove an element from a set in c++?
Can a list of string be stored within a two dimensional array?
How is objective c different from c++?