Multiple Choice
The ________ is ideal in situations where the exact number of iterations is known.
A) for loop
B) while loop
C) posttest loop
D) do-while loop
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: How many times will the following for
Q7: How many times will the following do-while
Q8: What will be the value of x
Q9: What will be the values of x
Q11: In general, there are two types of
Q14: In a for loop, the control variable
Q28: Assuming that inputFile references a Scanner object
Q33: You can use the PrintWriter class to
Q42: A file must always be opened before
Q50: When the continue statement is encountered in