nus-cs2113-AY2324S2 / forum

2 stars 0 forks source link

Finals mock paper question 6 clarification #47

Open damiwee opened 1 month ago

damiwee commented 1 month ago

Hi Prof,

May I ask why is option C an incorrect statement? If there is a navigability association from container to lid, is lid not associated with container? Or is "must be associated" referring to multiplicity? Thank you.

image

okkhoy commented 1 month ago

This is WRT multiplicity. If no multiplicity is given we treat it as 0..1. Must be => multiplicity is 1.