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 math h in c++?
Explain about templates of C++.
Difference between a homogeneous and a heterogeneous container
What is the use of function pointer?
What are built-in functions? What is the syntax for the definition?
What is constructor in C++?
What is a syntax in c++?
What are virtual constructors/destructors?
What do you mean by stack unwinding in c++?
Differentiate between late binding and early binding.
What is overloading unary operator?
What is a catch statement?
What is namespace std; and what is consists of?
Define pre-condition and post-condition to a member function in c++?
Define linked lists with the help of an example.