Please enable JavaScript to use CodeHS

AP CSA: VAR-2.C.2

CodeHS Lessons

For each iteration of the enhanced for loop, the enhanced for loop variable is assigned a copy of an element without using its index.

12.3 Enhanced for Loop for Arrays
13.3 Enhanced for Loop for Arrays
6.3 Enhanced for Loop for Arrays
7.4 Enhanced For Loops
5.4 Enhanced For Loops