Computer Applications
What is meant by an exit-controlled loop ? Which Java loops are exit-controlled ?
Java Iterative Stmts
12 Likes
Answer
If a loop tests the condition at the time of exit from the loop, it is called exit-controlled loop. This loop executes at least once even if the condition is false.
do-while loop is an exit controlled loop in Java.
Answered By
6 Likes
Related Questions
What are iteration statements ? Name the iteration statements provided by Java.
What is meant by an entry-controlled loop? Which Java loops are entry-controlled?
What is the difference between a while and do-while loop ?
How many times is the loop body executed in a do loop, even if the test-condition is false ?