Multiple Choice
What is the output of the code snippet given below?
Int i = 0;
While (i != 9)
{
System.out.println("" + 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
Q97: Which of the following is the correct
Q98: Which of the following code snippets displays
Q99: What is the output of the code
Q100: How many times does the loop execute
Q101: When will the loop in the following
Q103: What does the following code snippet display?
Q104: What is the output of this loop?<br>Int
Q105: Which of the following loops will print
Q106: How many times does the following loop
Q107: Which statement about storyboards is true?<br>A)A storyboard