var x = Array(repeating : 0, count : 100) //產生一個具有100 個元素的陣列,並且全部初始化為0; 二維陣列宣告方式 var nums = [[Int]] 新增方式
確定! 回上一頁