News
The enhanced for-loop is a popular feature introduced with the Java SE platform in version 5.0. Its simple structure allows one to simplify code by presenting for-loops ... loops through the array.
int l = arr1.length; // array.length returns the length of the array System.out.println("The length of the array is: "+l); // Displaying elements of the array (using for loop) ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results