Condensé pour Loop Java

for (int i = 0; i < myArray.length; i++) {
    System.out.println(myArray[i]);
}

//enhanced loop is:

for (int myValue : myArray) {
    System.out.println(myValue);
}
jafs