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:

Verified
Correct Answer:
Verified
Related Questions
Q11: What is the output of the following
Q12: What will be the result of running
Q13: What is the output of the code
Q14: How many times does the following loop
Q15: What is the output of the following
Q17: What will be printed by the statements
Q18: What is the first and last value
Q19: The process of hand-tracing code is valuable
Q20: What will be printed by the statements
Q21: Is the code snippet written below legal?