can we access a private variable using an object

前端 未结 7 1780
一整个雨季
一整个雨季 2020-12-11 08:07

We cannot access a private variable of a class from an object, which is created outside the class, but it is possible to access when the same object is created inside the cl

相关标签:
7条回答
  • 2020-12-11 09:03

    if accessing outside the class is the option required then try properties.

    0 讨论(0)
提交回复
热议问题