kotlin 的nullable types 不能轉換為java 的primitive type,要轉成wrapper type. data class Person(val name: String, val age: Int? = null) { fun ...
確定! 回上一頁