Imagine you are making an application that consists of 2 classes: Patient and Doctor. They are connected by association relationships. If you know that one Doctor can have from none to several Patients, and one Patient can go to many Doctors, how would you set cardinality attributes?
Class diagrams
Choosing cardinality
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.