Kotlin 中的 val 和Java 中的 final 类似,表示只读变量,不能修改。 ... listOf() 创建不可变的 List , mutableListOf() 创建可变的 List 。
確定! 回上一頁