KnowledgeBoat Logo
|

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