與C 語言的struct 類似,不過C 語言中的struct 只能包含資料,不能包含函數。 ... 為了避免這種情況發生,一個class 可以包含一個特殊的函數:建構子constructor,.
確定! 回上一頁