Translating basic UML diagram into code?
Source: https://youtu.be/oOCEAjlBTZw?list=PLdQddgMBv5zHcEN9RrhADq3CBColhY2hl&t=3688
I am learning about UML Class Diagram, and it has something called an
I am learning about UML Class Diagram, and it has something called an
Association Class - the example being
Supplieshere.
AlsoSupplierandProductare both classes that can have0..Nof each other: ASupplierclass can have0...NofProductclass, and vice versa.
- How an
Assocation Classcan be translated into code, and how it differs from a normal class? - How can I translate the
0..Nrequirement betweenSupplierclass andProductclass into code? What does it mean in code? Normally I just have two files each with their own class, and then I can create them in the main file. But it seems that they must somehow depend on each other?
