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

What is the result of the following code snippet?

int k = 10;
do {
System.out.print(k + " ");
k -= 2;
} while (k > 0);

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.