πŸ“Š JAVA
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compiler error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
273
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
81%
Success Rate