我们并不希望允许终端使用者直接地存取实体变数或者某个特定实作的细节。
We don't want to allow access directly to the Instance Variables or to the specific implementation details.
当透过指向相同执行个体的其他变数来存取时,您对类别成员值所作的变更会影响这些成员。
Changes you make to the values of class members affect those members when accessed through another variable pointing to the same instance.
用户端程序码是使用这些变数呼叫方法并存取物件之公用属性的程序码。
Client code is the code that USES these variables to call the methods and access the public properties of the object.
应用推荐