Multiple Choice
How many times does the following code fragment display "Hi"?
Int i = 10;
While (i >= 0)
{
System.out.println("Hi") ;
I--;
}
A) 9 times
B) 10 times
C) 11 times
D) 12 times
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q77: What is the output of the following
Q78: How many times does the code snippet
Q79: Which error type does the "off-by-one" error
Q80: What values does counter variable i assume
Q81: What is the output of the following
Q83: What will be printed by the statements
Q84: What is the last output line of
Q85: What is the data type of the
Q86: What is the result when the following
Q87: What is the output of the code