July 2001
Intermediate to advanced
656 pages
15h 51m
English
An interaction diagram shows the messages that are sent in response to a method invocation. The sequence of these messages translates to a series of statements in the method definition. The enterItem interaction diagram in Figure 20.6 illustrates the Java definition of the enterItem method.

In this example, the Register class will be used. A Java definition is shown in Figure 20.7.

The ...
Read now
Unlock full access