Kotlin 的建構式分為主要建構式(primary constructor) 和次要建構式(secondary ... class User(name: String) { private val id: Int = 1 init ...
確定! 回上一頁