What are the differences between public, private, and
protected access?
Answer Posted / prashanth c patel
public-->inherite the protected members as preotected in
drived class and pubic members wiull be public in derived
class
protected--->pubic and protecated members of the base class
will become protected in derived class
Private-->pubilc and proteacted members will become private
in derived class
Is This Answer Correct ? | 21 Yes | 12 No |
Post New Answer View All Answers
What is buffering in c++?
Show the declaration for a static member variable.
What is boyce codd normal form in c++?
What is the use of :: operator in c++?
Explain selection sorting?
What is the most common mistake on c++ and oo projects?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
What are protected members in c++?
Explain overriding.
Which is the best c++ software?
What is std :: endl?
What is diamond problem in c++?
what do you mean by volatile variable?
What is expression parser in c++
What do you understand by a pure virtual member function?