They are mainly categorized in 2 types –
- Conditional Control Statements
- Whenever a condition is to be tested depending on which particular tasks are to be performed, Conditional control statements are used.
- Looping / Iterative Control Statements
- Whenever a particular task has to be iterated for a particular number of times or depending on some condition, Looping control statements are used.
Apart from these we have 2 miscellaneous statements as – break and continue which assist in the flow controlling mechanism.