Question 1 of 5
Complete the missing while-loop trace cells. Then state the displayed text.
int[] tiles = {9, 4, 6};
int i = 0;
while (i < tiles.length) {
System.out.print(tiles[i]);
i++;
}
| Body | i at body start | Printed | i after i++ | i < tiles.length next? |
|---|---|---|---|---|
| 1 | 0 | 9 | ||
| 2 | ||||
| 3 |