0

Пример неправильный

К строчной переменной Name можно получить доступ вне класса и без get set, потому что она публичная

15th May 2019, 7:27 PM
Mur Zilka
Mur Zilka - avatar
3 odpowiedzi
+ 1
I'm more than happy to help you, unfortunately I don't understand your question. As you can probably tell, most of SoloLearn users are speaking English. Therefore, if you want your question to have more answers or be answered faster, rewrite this in English :) Thank you for your contribution!
15th May 2019, 10:42 PM
inxanedev!
inxanedev! - avatar
0
He wrote: Example is wrong The string variable Name can be accessed outside the class and without get set, because it is public
4th Mar 2021, 1:19 PM
Adebayo Inioluwa Marvellous
Adebayo Inioluwa Marvellous - avatar
0
inxanedev! I think he is referring to some examples in Sololearn tutorials (Probably PHP 🤔)
4th Mar 2021, 1:21 PM
Adebayo Inioluwa Marvellous
Adebayo Inioluwa Marvellous - avatar