Loop is used to iterate a block of code mulitple times (till the given condition is true) .
The looping statements are used to execute a single statement or block of statements repeatedly until the given condition is FALSE. So if i have to print myname 100 times, then instead of writing printf hundred times, we can use loop with condition that executes 100 times.
There are following types of commonly loop used in java.
1)while loop
2) do while loop
3) for loop