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 / guest
Answer is b)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the use of turbo c++?
What does the ios::ate argument do?
Out of fgets() and gets() which function is safe to use?
Write some differences between an external iterator and an internal iterator?
Why are pointers used?
What are the benefits of c++?
What are the advantages of pointers?
What is virtual methods?
Distinguish between a # include and #define.
Show the application of a dynamic array with the help of an example.
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
Why is c++ still used?
What is oop in c++?
Can I run c program in turbo c++?
What is meant by forward referencing and when should it be used?