繼承可以看成是子類別呼叫父類別的建構式然後才實體化自己,因此父類別中 ... () // 一般屬性 val c: String = "C" // 一般方法 fun d() { println("D ...
確定! 回上一頁