Java shopping basket
992059Mar 7 2013 — edited Mar 18 2013I've started working on my uni assignment - an application that should be able to enable users to add items to a basket, calculate the amount spent, and apply any discounts that are relevant. I'm new to java and I am a bit confused and don't know where exactly should I start. I do know the basics. I was thinking of creating 3-4 classes. Please note i want to make the whole thing as simple as possible.
1. An item catalogue class whith a list of items and description which we could add to the basket.
2. A container class of shopping basket items.
3. A class which could move items from the catalog list class to the basket class, this class could also apply discounts to items and add delivery charges etc.
I just wanted to make sure i am on the right track at the moment. What do you think?