Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+12 votes

For example, how can we tell if the relationship is 1-to-1 or 1-to-many.

asked in CSC 305 Fall 2024 by (4.9k points)

2 Answers

+5 votes
 
Best answer

I found this website that just shows the different types of ways to show it in the UML. These symbols will be shown on the ends of the arrows connecting the two classes.

https://www.uml-diagrams.org/multiplicity.html

answered by (2.4k points)
selected by
+2

Thank you! This website was very helpful!

0 votes

Generally the line between the classes will be labelled (like when we have a star or numbers) to show which class has one or many instances of another class.

answered by (4.1k points)
...