03 - UML - Relationships and Multiplicity
03 - UML - Relationships and Multiplicity
MODELLING
LANGUAGE
(UML)
Relationships and Multiplicity
Object-Oriented Programming 3
Classes Relationships
• Games • Users can search the game catalogue
• Users • Users can add games to their cart.
• Cart • Cart contains the games users intend to
purchase
Object-Oriented Programming 4
Object-Oriented Programming 5
Object-Oriented Programming 6
Multiplicity
It shows how many instances of one class can be associated with another class.
1 Only one
* Many
Object-Oriented Programming 8
Object-Oriented Programming 9