The sequence of execution of a Java program is controlled by statements , which are executed for their effect and do not have values. T different from S and U such that S contains T and T contains U . Most of the remaining sections explain the various kinds of statements, describing in detail both their normal behavior and any special treatment of abrupt completion. However, the break and continue statements are extended in Java to allow them to mention statement labels.
Every statement has a normal mode of execution in which certain computational steps are carried out.
The following sections describe the normal mode of execution for each kind of statement. If all the steps are carried out as described, with no indication of abrupt completion, the statement is said to complete normally . An exception causes a transfer of control that may prevent normal completion of statements. If a statement evaluates an expression, abrupt completion of the expression always causes the immediate abrupt completion of the statement, with the same reason. All succeeding steps in the normal mode of execution are not performed.