Multiple Choice
Which is an infinite loop?
A) loopCount = 5;
While(loopCount > 3) ;
{
System.out.println("Hello") ;
LoopCount = loopCount - 1;
}
B) loopCount = 1;
While(loopCount < 3) ;
{
System.out.println("Hello") ;
}
C) loopCount = 4;
While(loopCount < 3) ;
{
System.out.println("Hello") ;
LoopCount = loopCount + 1;
}
D) loopCount = 1;
While(loopCount < 3) ;
{
System.out.println("Hello") ;
LoopCount = loopCount + 1;
}
Correct Answer:

Verified
Correct Answer:
Verified
Q17: In a do…while loop, the loop will
Q18: It is important that the loop control
Q21: Match each term with the correct statement
Q27: The _ loop is the posttest loop
Q27: counterLoop = 1;<br>while(counterLoop < 10);<br>{<br>System.out.println("Enter a new
Q30: A(n) _ loop is a special loop
Q42: Describe a counter-controlled loop. Explain the process
Q53: How are nested loops implemented in a
Q64: A for loop provides a convenient way
Q77: A loop that never ends is called