val mutableList = mutableListOf(1, 2, 3) val readonlyList: List<Int> = mutableList mutableList.add(9) println(readonlyList). 実行結果.
確定! 回上一頁