Solved

What Is the Output of the Code Snippet Given Below

Question 13

Multiple Choice

What is the output of the code snippet given below? String s = "12345";
Int i = 1;
Do
{
If (i > 1)
{
System.out.print) ;
}
}
While (i < 5) ;


A) No output
B) No output (infinite loop)
C) 12345
D) 2345

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions