+ 1
Like using friend keyword we access private members in c++ ,how can we access private members in other language??
3 ответов
+ 1
I do not know for java :/
0
There is no private member in python
You can try to do a class method taking an object of the class as its first parameter, it could work. If not, you'll need getter/setter
0
in java??