A.2. Class Relationships
Figure A.2 shows a few of the UML's features for modeling class relationships.
Figure A.2. Class relations. Various lines between classes indicate relationships between objects of the classes.
In Figure A.2, note the following.
A diagram may show a class name or method name in italics to indicate that the class or method is abstract.
A large, open arrowhead points to a class's superclass.
A line between classes indicates that instances of the classes are connected in some way. Most commonly, a line on a class diagram means that one class has an instance variable that refers to the other class. The classes Alternation and ...
Get Building Parsers with Java™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.