Flow Control | Java

Flow Control | Java

Java Fundamentals

It describes the order in which the statements will be executed at runtime. It is divided into three categories -

Selection statements

- if else statement
- switch() Statement

Iterative statements

- while loop
- do while loop
- for loop
- for each loop

Transfer statements

- break
- continue
- return
- try-catch-finally
- assert