而在Kotlin中卻是用一個專門的型別來表示陣列的:Array ... asList //ArrayList<Animal> //列表轉換為陣列 var list= ArrayList<Animal>() ...
確定! 回上一頁