Which type of loop is best known for its boolean condition that controls entry to the loop?
A. do-while loop
B. for (traditional)
C. for-each
D. while
Answer:D
Which type of loop is best known for its boolean condition that controls entry to the loop?
A. do-while loop B. for (traditional) C. for-each D. while
Explanation: A while loop has a condition that returns a boolean that controls the loop. It appears at the beginning and is checked before entering the loop. Therefore, Option D is correct.