Multiple Choice
What is the output of the code snippet given below?
Int i = 0;
While (i != 11)
{
System.out.print(i + " ") ;
I = i + 3;
}
A) No output
B) 0 3 6 9 12 15 18
C) 0 1 3 5 7 9
D) 0 3 6 9 …. (infinite loop)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q20: What will be printed by the statements
Q21: Is the code snippet written below legal?
Q22: Assume the following variable has been declared
Q23: How many times is the text "Let's
Q24: What is the output of the code
Q26: How many times does the following loop
Q27: Suppose that the chance to hit the
Q28: What does the following code snippet print?<br>Int
Q29: What will be printed by the statements
Q30: What is the last output line of