Answer the question
In order to leave comments, you need to log in
Should tables or classes be bidirectional in all cases?
There is a connection:
Here both aggregation and composition. Do all the given classes have to store back references to the enclosing class (doubly linked list)?
A professor can exist without a Department and a University, but a Department cannot exist without a University.
Answer the question
In order to leave comments, you need to log in
Do all the given classes have to store back references to the enclosing class (doubly linked list)?No, in many cases one-sided is sufficient.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question