In Chapter 3, we saw a few simple statements. In a program, these statements are executed one after the other. However, these statements are not sufficient to effectively solve the problems. To solve these problems, flow control statements are used. When we use them, statement to be executed need not be the very next statement. This gives tremendous power to the code.
Java supports many flow control statements. We can group these statements in the following manner.