val arrayEmpty = emptyArray<String>(). (2)创建指定长度的可空数组. val array1 = arrayOfNulls<Int>(5) for (i in 0..4) { array1[i] = i }.
確定! 回上一頁