Enhanced For Loop With Arrays
Which of the following statements is true about using an enhanced-for-loop with arrays?
A
An enhanced-for-loop iterates over every element in the array without using an index variable
B
It always creates a shallow copy of the array
C
It only works with arrays of objects
D
It can modify the array elements in place by altering the index
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
APFIVE