previous
|
start
|
next
Relationships between Classes
Every car is a vehicle. Every car has a tire (several tires, actually).
class Car : public Vehicle { ... private: vector<Tire> tires; };
In UML notation, association is denoted by a solid line with an arrow at the tip.
previous
|
start
|
next