以下是宣告字串陣列的範例,其他資料型態也是相同的做法。 val names = arrayOfNulls<String>(5). 使用arrayOfNulls 方法,並定義泛型類別 ...
確定! 回上一頁