For loop: This is one of the Java's three control structures employed for looping. The other two are while loop and do loop. A for loop includes of a loop header and a loop body. The header comprises of three expressions separated by two semicolons and one or more of these might be omitted. The first expression is only computed once; at a point the loop is entered. Middle expression is the Boolean expression symbolizing loop's termination test. An empty expression symbolizes the value true. The third expression is computed after each completion of the loop's body. The loop terminates whenever the termination test provides the value false. The statements in the loop body may be performed zero or more times.