In addition to the for-each loop, Java also has a forEach() method. ... for (int i=0; i < array.length; i++) { // Statements } ...
確定! 回上一頁