要想在Kotlin中声明字符串数组,得使用Array<String>,也就是把String用尖括号包 ... 2, 3) var float_array:Array<Float> = arrayOf(1.0f, 2.0f, ...
確定! 回上一頁