Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java shopping basket

992059Mar 7 2013 — edited Mar 18 2013
I'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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2013
Added on Mar 7 2013
2 comments
832 views