Kotlin 創建數組大致有如下兩種方式:. 1.使用arrayOf(), arrayOfNulls(),emptyArray()工具函數。 2.使用Array(size: Int, init:(Int) -> T).
確定! 回上一頁