how would the attribute __a of the class b be accessed from outside the class | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

how would the attribute __a of the class b be accessed from outside the class

pls answer

27th Nov 2020, 4:15 PM
Reyhan
Reyhan - avatar
2 Respuestas
+ 1
i think its python , you can access the private method like so(i think) : _b__a
27th Nov 2020, 5:27 PM
Med Amine Fh
Med Amine Fh - avatar
0
Please specify the lenguage
27th Nov 2020, 4:17 PM
Angelo
Angelo - avatar