New course! Every coder should learn Generative AI!
Try a free lesson0
how would the attribute __a of the class b be accessed from outside the class
pls answer
2 Answers
+ 1
i think its python ,
you can access the private method like so(i think) :
_b__a
0
Please specify the lenguage