Translating basic UML diagram into Java code?
Source: https://youtu.be/oOCEAjlBTZw?list=PLdQddgMBv5zHcEN9RrhADq3CBColhY2hl&t=3688
I am learning about UML Class Diagram, and it has something called an
Also
I am currently wondering:
* How an
* How can I translate the
I am learning about UML Class Diagram, and it has something called an
Association Class - the example being Supplies here. Also
Supplier and Product are both classes that can have 0..N of each other: A Supplier class can have 0...N of Product class, and vice versa. I am currently wondering:
* How an
Assocation Class can be translated into code, and how it differs from a normal class?* How can I translate the
0..N requirement between Supplier class and Product class into code? What does it mean in code? Normally I just have two Java 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?