What will be the output of the following loop?
for (int i = 0; i < 3; i++) { System.out.print(i + " "); }
0 1 2
1 2 3
0 1 2 3
Infinite Loop
This question is part of this quiz :