How do you model the following situation with a UML class diagram: the car fleet of a car rental contains multiple cars; one car belongs to exactly…

How do you model the following situation with a UML class diagram: the car fleet of a car rental contains multiple cars; one car belongs to exactly one car fleet.

From the BIWTA Assistant Programmer November 2022 – Written exam, question 7 of 7.

More from this paper