Solved

What Is the Output of the Code Fragment Given Below

Question 16

Multiple Choice

What is the output of the code fragment given below?
Int i = 0;
Int j = 0;
While (i < 27)
{
I = i + 2;
J++;
}
System.out.println("j=" + j) ;


A) j=27
B) j=12
C) j=13
D) j=14

Correct Answer:

verifed

Verified

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

Related Questions