Solved

What Is the Output of the Code Fragment Given Below

Question 121

Multiple Choice

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


A) 0
B) 62
C) 63
D) The code fragment displays no output because it does not compile.

Correct Answer:

verifed

Verified

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

Related Questions