Is protected member are not accessible in thier own class | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Is protected member are not accessible in thier own class

because protected member only visible to derived class so is it means that it not visible to thier own class

23rd Jun 2018, 3:01 PM
Badal
Badal - avatar
1 Respuesta
+ 2
Proyected members in a class could be accessed by the class and the derived classes. They are invisible to only outside.
23rd Jun 2018, 3:08 PM
Disvolviĝo;
Disvolviĝo; - avatar