Control Statements
Control Statements are used to control the execution flow of Java Program.
There are three types of control statements:
1. Conditional Control Statements
- if statement
- switch statement
2. Looping Control Statements
- for statement
- enhanced for statement (added in Java 5)
- while statement
- do-while statement
3. Unconditional Control Statements
- break
- continue