Examlex

Solved

When Hand-Tracing the Loop in the Code Snippet Below, Which

question 64

Multiple Choice

When hand-tracing the loop in the code snippet below, which variables are important to evaluate?
Int i = 10;
Int j = 5;
Int k = -10;
Int sum = 0;
While (i > 0)
{
Sum = sum + i + j;
I--;
System.out.println("Iteration: " + i) ;
}


Definitions:

Related Questions