+ 1

For Loop

Are enhanced for loops and for each loops the same ?

24th Jun 2017, 9:17 PM
Fred
2 Respuestas
+ 1
I think it is.
25th Jun 2017, 4:16 AM
Rashmika Gamaethige
Rashmika Gamaethige - avatar
0
Practically, enhanced for loops are like a shortcut to iterate over a sequence. So yeah...
25th Jun 2017, 12:08 AM
Don
Don - avatar