Closed masayas closed 3 years ago
The book says
Create a class called Horse and a class called Rider . Use composition to model a horse that has a rider.
model a horse that has a rider.
However, the answer to the question is written like model a rider that has a horse
model a rider that has a horse
I fixed the relationship between horse and rider as was stated in the question.
Problem
The book says
However, the answer to the question is written like
model a rider that has a horse
Resolution
I fixed the relationship between horse and rider as was stated in the question.