getter方法的使用是為了返回屬性,setter方法的使用是為了給屬性賦值。是不是這樣理解的。。。

native_天真
2014-10-25
1 回答
舉報
0/150
提交
取消
getter方法的使用是為了返回屬性,setter方法的使用是為了給屬性賦值。是不是這樣理解的。。。
2014-10-25
舉報
2014-10-25
chabuduo