How to create Grocery shopping cart | Sololearn: Learn to code for FREE!

-2

How to create Grocery shopping cart

Case study 1: Grocery Shopping cart:(Core Java) 1. Create a grocery shopping cart which will allow you to add grocery items to the cart. 2. Below are the functionalities your application should have: 1. Can add as many items you want to the cart. 2. You should be able to view all the items you have added to the cart. 3. You should be able to modify the list by replacing a certain items in the cart. 4. You should be able to remove any item from the cart. 5. The application must display if a certain item is present in your cart or not(Basically find an item functionality). 3. The user class should have the below: 1. User should be able to see the list of options they can choose from. 2. It should take input from the user on the go to access an option from the above list. 3. The list of options should have a quit option. And your application must run until the user select the option to quit.

11/30/2021 8:11:52 AM

swamy

8 Answers

New Answer

+6

Where is your solution?

+4

+3

John Delvin That is pure Code Java so why django or react?

+3

That question isn't that difficult but it became a habit of other wiser community members to always say first that first show your attempt . By the way , how many classes are needed for this program except User ?

+1

Using core java

+1

Please take a look at the forum rules: https://www.sololearn.com/Content-Creation-Guidelines/ https://www.sololearn.com/Discuss/1316935/?ref=app Take a look at these guides on how to ask a question. https://stackoverflow.com/help/how-to-ask https://www.sololearn.com/blog/38/8-simple-rules-to-get-help-from-the-community Please always tag the language you're asking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app

+1

A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ i skipped something while reading the queston.

0

That's a nice tricky project !