Vidyalelo
Java Programming · Q17

Flow Control

Programming · Java Programming · question 17

Q17

What is the output of the following code snippet?for (int m = 0; m < 5; m++) if (m == 2) continue; System.out.print(m + " ");

A.
0 2 4
B.
2 4
C.
0 1 3 4
Answer
D.
0 1 2 3 4

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board