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

What is the result of the following code snippet?

int i = 1;
while (i <= 5) {
System.out.print(i + " ");
i++;
}

Answer & Solution
Correct Answer: Option D
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.