Strange for-each loop java Languages

Strange for-each loop java

Could anyone tell me, why does it works?Why can I set 0 as i, but it still iterates?Because i isn't a control variable in that loop, it's just one of the values in the array. Per JLS§14.4.2, for arrays, the enhanced for loop is equivalent to this:
Read More