Java Control Instructions


☞In a program, statements may get executed sequentially, selectively or iteratively.

Sequence : Statements are executed line by line that represents default flow.

Selection : Execution of statements depends upon a condition-test.

Iteration : Execution of set of statements repetitively depending upon a condition-test.

☞The following are the types of control instructions :

1. Decision control instruction 
2. Iterative control instruction
3. Switch case control instruction