Multiple Choice
What are the values of i and j after the following code fragment runs?
Int i = 60;
Int j = 50;
Int count = 0;
While (count < 5)
{
I = i + i;
I = i + 1;
J = j - 1;
J = j - j;
Count++;
}
System.out.println("i=" + i + ", j=" + j) ;
A) i = 1951, j = 0
B) i = 1951, j = 45
C) i = 65, j = 1
D) i = 65, j = 45
Correct Answer:

Verified
Correct Answer:
Verified
Q110: In the following code snippet, when does
Q111: Assume the following variable has been declared
Q112: What is the output of this code
Q113: What is the outcome of the following
Q114: What is the output of the code
Q116: Insert a statement that will correctly terminate
Q117: Which of the following conditions can be
Q118: What will be the final output of
Q119: Which of the following loop(s) should be
Q120: How many times will the output line