nus-cs2103-AY2324S2 / forum

16 stars 0 forks source link

Association in Object Diagrams (Tutorial 5) #1032

Closed cliftonchee closed 5 months ago

cliftonchee commented 5 months ago

photo1714103148

Hi! I would like to check on my understanding of association between objects in an object diagram. My understanding is that in this bidirectional navigability between children and fiction means to say that:

children object has a reference to fiction (and vice versa) e.g.

Category cat = fiction;

But between student and loan (and book), there is no navigability(?) between the objects, unless we chose to omit such details as it may not be necessary?

Thanks in advance!

damithc commented 5 months ago

But between student and loan (and book), there is no navigability(?) between the objects, unless we chose to omit such details as it may not be necessary?

@cliftonchee In this diagram, those navigabilities have been omitted.

cliftonchee commented 5 months ago

Okay! Thank you Prof!