companion object {// 這是協同物件, 也就是AAA 的變身, 唯一實體共享物件(static object) ... println(i.a) // 錯誤的用法: a 實際並非i 的成員
確定! 回上一頁