C++ Access Control Question:
Download Questions PDF

Explain access specifier Public?

Answer:

If a class member is public, it can be used anywhere without the access restrictions.

Download C++ Access Control Interview Questions And Answers PDF

Previous QuestionNext Question
Explain access specifier protected?What is the importance of mutable keyword?