摘要: 在面向对象程序里,一个对象不要直接访问另一个对象内部的数据。所以我们使用accessor methods来进行对象内部的数据交互。accessor methods(getters and setters) are used as an abstraction for interacting with... 阅读全文