Java Control Flow Statements

As in languages like C/C++ Java has control flow statements to control the flow of code. In addition to the basic control statements like if, if else Java provides Exception statements to handles exceptions perfectly.

The following table gives the snapshot of Java  control flow statements

Decision Making if-else, Switch Case
Loop for, while, do-while
Exception try-catch-finally, throw
Miscellaneous break, continue, label:, return