February 2014
Beginner
1248 pages
62h 25m
English
Figure 5.21 uses UML activity diagrams to summarize Java’s control statements. The initial and final states indicate the single entry point and the single exit point of each control statement. Arbitrarily connecting individual symbols in an activity diagram can lead to unstructured programs. Therefore, the programming profession has chosen a limited set of control statements that can be combined in only two simple ways to build structured programs.
Fig. 5.21 | Java’s single-entry/single-exit sequence, selection and repetition statements.
For simplicity, Java includes only single-entry/single-exit ...
Read now
Unlock full access