Source: N/A ( Barrie Treloar)
Figure 11.23 shows a constructor for the Car Class. This constructor takes a parameter brand of type String. It describes
the internal structure of the Car that it creates and how the four contained instances of Wheel will be initialized. In this
case, every instance of Wheel will have the predefined size and use the brand of tire passed as parameter.
Yet the diagram uses two brands "Michelin" and "Firestone".
This is the same diagram as Figure 11.22, but there was no information about the constructor to infer whether this was intentional or a bug,
Reported: UML 2.5 — Fri, 6 May 2016 05:52 GMT
Updated: Tue, 6 Dec 2016 19:47 GMT
UMLR — Figure 11.23 (and 11.22) should use one brand of tire but show two instead
- Key: UMLR-684
- OMG Task Force: UML 2.6 RTF