previous
|
start
|
next
Self Check
Write a "for each" loop that prints all elements in the array data
Why is the "for each" loop not an appropriate shortcut for the following ordinary
for
loop?
for (int i = 0; i < data.length; i++) data[i] = i * i;
previous
|
start
|
next