A

Admin • 828.03K Points
Coach

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
  • Correct Answer - Option(D)
  • Views: 7
  • Filed under category Java
  • Hashtags:

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.

Be the first to start discuss.