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
Cosmo
Sign Up Now
or Subscribe for future quizzes