... 有Kotlin标准库功能public fun <T> arrayOf(vararg t: T): Array<T> 因此,要创建一个空字符串数组,您可以编写val emptyStringArray = arrayOf<String>()
確定! 回上一頁