Kotlin. 🏝️ class User { val id: Int val name: String constructor(id: Int, ... Java 中构造器和类同名,Kotlin 中使用 constructor 表示。
確定! 回上一頁