Multiple Choice
ch = inFile.next() .charAt() ;while (inFile.hasNext() )
{
System.out.println(ch) ;
Ch = inFile.next() .charAt() ;
}The above code is an example of a(n) ____ loop.
A) sentinel-controlled
B) flag-controlled
C) EOF-controlled
D) counter-controlled
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: Which of the following is true about
Q4: The loop condition of a while loop
Q8: boolean found = false;<br>Int num;<br>Int square;while (!found)<br>{<br>Num
Q10: What is value of x after the
Q11: The following for loop executes 21 times.
Q11: int i;for (i = 0; i <=
Q12: Which executes immediately after a continue statement
Q14: int x = 27;<br>Int y = 10;do<br>X
Q16: The output of the Java code, assuming
Q33: Control variables are automatically initialized in a