What is the difference between public, private, protected
inheritance?
Answer Posted / saikat
A private member can only be accessed by other methods of
the same class, while a public member can be accessed by
methods of any class or by non class code.
Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
What is the use of "new" operator?
What are proxy objects in c++?
Explain the operation of overloading of an assignment operator.
What does iomanip mean in c++?
What are the two shift operators and what are their functions?
What is a stack c++?
Explain Memory Allocation in C/C++ ?
What are the uses of pointers?
How many keywords are used in c++?
How to give an alternate name to a namespace?
What is an operator function? Describe the function of an operator function?
What do you mean by enumerated data type?
Define pre-condition and post-condition to a member function in c++?
List the merits and demerits of declaring a nested class in C++?
Explain shallow copy?