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

What is the output of the following code snippet?

int j = 0;
while (j < 5) {
System.out.print(j + " ");
j += 2;
}

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.