Java - for Loop

The for loop is a control flow statement bundled with initialization, conditional expression, increment / decrement Statements in a shortened way and it will execute the block of statement as long as the specified conditional expression is valid (i.e., true). Moreover it also supports the array iteration, it will iterate the array untill the end of record gets reach.