|
It states that "you will complete one class..." which sounds to me as if you are not to make a second Slot class, and this is a shame.
This suggests that you may have to use "parallel arrays" to hold the information for the slots, meaning an array of String for the product names, an array of ints for the count, and array of (shudder!) double for the price.
When you study OOPS more, you'll learn why parallel arrays are a bad idea and how to avoid them.
|