0
Пример неправильный
К строчной переменной Name можно получить доступ вне класса и без get set, потому что она публичная
3 Antworten
+ 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!
0
He wrote:
Example is wrong
The string variable Name can be accessed outside the class and without get set, because it is public
0
inxanedev!
I think he is referring to some examples in Sololearn tutorials (Probably PHP 🤔)