For-each loop
Also written: for-each, enhanced for
A loop written like `for (int bags : sales)` that runs once for each element of an array or collection, without needing an index.
Also written: for-each, enhanced for
A loop written like `for (int bags : sales)` that runs once for each element of an array or collection, without needing an index.