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 / roshanpr
d
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the difference between *p++ and (*p)++ ?
In a function declaration what does extern means?
Why can’t you call invariants() as the first line of your constructor?
What is abstraction in c++ with example?
What is :: operator in c++?
What is the identity function in c++? How is it useful?
Is c++ free?
Why c++ is called oop?
What is the purpose of template?
What is flush () in c++?
Explain explicit container.
Explain Memory Allocation in C/C++ ?
Implement stack operations with pointers with appropriate exception checks.
When do you call copy constructors?
Difference between pass by value and pass by reference?