Java 语言使用new操作符来创建数组,语法如下: arrayRefVar = new dataType[arraySize]; ... for(type element: array) { System.out.println(element); } ...
確定! 回上一頁