February 2014
Beginner
1248 pages
62h 25m
English
The sequence structure is built into Java. Unless directed otherwise, the computer executes Java statements one after the other in the order in which they’re written—that is, in sequence. The activity diagram in Fig. 4.1 illustrates a typical sequence structure in which two calculations are performed in order. Java lets you have as many actions as you want in a sequence structure. As we’ll soon see, anywhere a single action may be placed, we may place several actions in sequence.
Fig. 4.1 | Sequence-structure activity diagram.
A UML activity diagram models the workflow (also called the activity) of a portion of a software ...
Read now
Unlock full access