Sorry if it was already asked, but I did not find an answer on stackoveflow and I didn't see official tutorials about this field.
The question is in the title - if we have code like
int[] array = new int[20];
for (int el : array) {
...
}
Will JVM run it as standard for loop
for (int i = 0; i < array.length; i++)
Or it will create an iterator?
UPD This link may be helpful to complete the answer
Fastest way to iterate an Array in Java: loop variable vs enhanced for statement