To show you a more complex example, the following is the class diagram for a Car Transportation System. This diagram shows all major object-oriented relationships, e.g. inheritance, 1 to 1 association, 1 to 1 aggregation, 1 to many association, and 1 to many aggregation. This class diagram shows the Unified Method class diagram symbols: arrow - inheritance, line - association, diamond - aggregation, * - 1 to many, - private, + public, # protected, and $ static. The box enclosing the Vehicle class indicates an abstract class. |