¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 1
PRIVATE
so does this mean that private variables in a given class cannot be accessed by an object of a derived class whose base class is the said private variable?
1 Respuesta
+ 1
Private members of a class is not accessible to anyone outside the class except member functions of that class and friend functions of that class.