WEB DEVELOPER SITE
PHP7
 

do while loop in java


A do...while loop is similar to a while loop, except that a do...while loop is guaranteed to execute at least one time.


Syntax

Following is the syntax of a do...while loop −

do {
   // Statements
}while(Boolean_expression);
Run example »