Which access modifier should the class be defined with for its member to be available only to the class itself and the classes that inherit from it?

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
C++ quizzes
Sign Up Now
or Subscribe for future quizzes