Total noob here.
I am working on a project for school to create an inventory management program.
I have created a very basic windows form, and am working on creating the classes.
We were given a UML diagram outlining the basic structure needed (attached).
I have created the Part class and am working on the Product class.
I am not sure if I need to re-declare the instance variables in Product as I did in the Part class or not.
For example: both classes contain the instance variables, name, price, inStock, min and max.
Also, the Product class contains an ArrayList that uses the variables from Part (if I understand the diagram right), but I’m not sure quite how to do that.
What I have done so far can be found at: https://github.com/yax51/Inventory-Management
Any help and/or advice would be greatly appreciated!!!