而Kotlin 在宣告變數時使用的是 靜態類型系統(static type system) ,即編輯器會 ... val data: Array<Int> = arrayOf(1,2,3,4,5) // 宣告Array並賦予1-5 數值data.
確定! 回上一頁