O'Reilly logo

Building Parsers with Java™ by Steven John Metsker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required