Home / Programming MCQs / JAVA MCQs / Question

Q. What is the output of the below Java program?

Code:
int time=50;
do
{
System.out.print(time + ",");
time++;
}while(time < 53)
(A) 50,50,50,
(B) 50,51,52,
(C) 51,52,53,
(D) Compiler error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.