What is the difference between public, private, protected
inheritance?
Answer Posted / priya
public: class members are access from the outside the class
private: class members can access only within the class
protected:class members can access inside the same package
| Is This Answer Correct ? | 104 Yes | 51 No |
Post New Answer View All Answers
What is c++ iterator?
How the virtual functions maintain the call up?
How to demonstrate the use of a variable?
What is the difference between mutex and binary semaphore?
Can a program run without main in c++?
Explain deep copy?
Why the usage of pointers in C++ is not recommended ?
How should runtime errors be handled in c++?
write a porgram in c++ that reads an integer and print the biggest digit in the number
What does new do in c++?
What are the important differences between c++ and java?
What is the history of c++?
Difference between a copy constructor and an assignment operator.
what does the following statement mean? int (*a)[4]
How do you compile the source code with your compiler?