Enhanced For Loop With Arrays
Which statement accurately describes the use of an enhanced for loop to traverse an array?
A
It can modify the array elements in place by altering the index
B
An enhanced-for-loop iterates over every element in the array without using an index variable
C
It always creates a shallow copy of the array
D
It only works with arrays of objects
Question Leaderboard
| Rank | |||||
|---|---|---|---|---|---|
| #1 | bommasam000 | 2 | 2 | 2m 10s | 70 |
| #2 | y.seong2027 | 1 | 1 | 0m 58s | 42 |
| #3 | isaact.taylor52 | 1 | 1 | 1m 50s | -10 |
Items per page:
10
1 – 3 of 3
