所謂的getter以及setter是用來作為物件的私有(private)變數或屬性(field)的公用存取介面(public access interface),也就是宣告兩個public method,一個為 ...
確定! 回上一頁