while loop in java different examples
Example: what is a do while loop in java
do {
//something you want to execute at least once
} while (someBooleanCondition);
do {
//something you want to execute at least once
} while (someBooleanCondition);