Answers

Question and Answer:

  Home  C++ Programmer

⟩ Explain what is the role of protected access specifier?

If a class member is protected then it is accessible in the inherited class. However, outside the both the private and protected members are not accessible.

 188 views

More Questions for you: