ExamVeda
Login
Home
This question belongs to Java Program Flow Control
Flow Control
?

What is the output of the following code snippet?

for (int m = 0; m < 5; m++) {
if (m == 2) {
continue;
}
System.out.print(m + " ");
}

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.