Programming languages provide various - that allow for more complicated execution paths.
Control structures
A - statement allows us to execute a statement or group of statements multiple times and following is the general form of a - statement in most of the programming languages.
loop
Java programming language provides the following types of loop to handle looping requirements :
1. While loop
2. For loop
3. Do..While loop
A while loop statement in Java programming language repeatedly executes a - as long as a given condition is true.
target statement
A - is a repetition control structure that allows you to efficiently write a loop that needs to be executed a specific number of times.
for loop
A for loop is useful when you -
know how many times a task is to be repeated.
A - loop is similar to a while loop, except that a - loop is guaranteed to execute at least one time.
do...while
As of Java 5, the - loop was introduced. This is mainly used to traverse collection of elements including arrays.
enhanced for