int i = 10;
while (i < 5) {
System.out.println(i);
i++;
}
System.out.println("done");What is printed?
- Acheck_circle
done
- B
10 done
- C
nothing
- D
10 11 12 done
Explanation
The while condition (10 < 5) is false at the start, so the loop body never executes. Only "done" prints.