Multiple Choice
What is the output of the code snippet given below?
Int i = 0;
While (i != 11)
{
System.out.print(" " + i) ;
I = i + 2;
}
A) No output
B) 0 2 4 6 8
C) 10 12 14 16 18 …. (infinite loop)
D) 0 2 4 6 8 10 12 14 …. (infinite loop)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q89: Which of the following loops executes the
Q95: In the following code snippet, when does
Q96: Which of the following code snippets will
Q97: Which of the following is the correct
Q98: Which of the following code snippets displays
Q100: How many times does the loop execute
Q101: When will the loop in the following
Q102: What is the output of the code
Q103: What does the following code snippet display?
Q104: What is the output of this loop?<br>Int