Flow of Control

Selection Statements

Control statements control the flow of the program execution either by repeating or skipping the set of statements based on the result of the test condition. Control statements are categorized into four parts i.e., sequential statement, selection statement, looping statement and jump statement.
<
.... Read More

Iteration Through Loops

In a looping statement, the statements execute repeatedly till the result of a test condition remains true. A loop consists of the following parts: initialisation expression, test expression and update expression.

There are three types of looping statements: for loop, while loop and do-while
.... Read More

Jump Statements

In Java, jump statements transfer the control of the program from one position to another conditionally or unconditionally. Java has three jump statements: break, continue and return. The break statement skips rest of the loop and jumps over to the statement following the loop. The break statement c .... Read More

To Access the full content, Please Purchase