Multiple Choice
The do loop differs from the while loop in that
A) the while loop will always execute the body of the loop at least once
B) the do loop will always execute the body of the loop at least once
C) the do loop will continue to loop while the condition in its while statement is false and the while loop will continue to loop while the condition in its while statement is true
D) the while loop will continue to loop while the condition in its while statement is false and the do loop will continue to loop while the condition in its while statement is true
E) None of these; there is no difference between the two types of loops
Correct Answer:

Verified
Correct Answer:
Verified
Q1: How many times will the System.out.println("*"); statement
Q2: A conditional operator is virtually the same
Q4: Code Example Ch 06-1<br>In the following example,
Q5: Control in a switch statement jumps to
Q6: Which of the following statements are true
Q7: How many times will the following nested
Q8: Write a do loop to obtain a
Q10: The following for loop is an infinite
Q11: A for statement is normally used when
Q27: Write code that outputs all of the