Hey guys,
I am almost at the end of my assignment but when I showed my code to a friend and also my demonstrator
I was told the way I was passing the data between the three classes for "menu prompt (2)" was wrong.
My original program had methods I wrote to set and get data within the store class it would set and get data on private
variables for that class so the MatesInterface class could use the store get methods to print the data.
So my question is how would I get the product data to the MatesInterface class without using the Product classes get methods in the Mates interface.
Here is the assignment sheet and marking scheme, the store class has marks for having set methods and get methods within the store class. https://www.dropbox.com/sh/yf7c7eev9dclupu/xR7KdTa9nU
As with posting code, I am a little reluctent only because it is an assignment I know you guys probably might need to look at it though.
any help or discussion would be awesome :)