2015-08-15 17 views

回答

0

不能賦值方法調用這種方式。您需要調用該方法並將該值作爲屬性提供。

屬性(即使用點語法)總是調用默認名稱爲'something'(getter)和'setSomething'(setter。)的適當的getter和setter。