How to create Grocery shopping cart | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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.

30th Nov 2021, 8:11 AM
swamy
swamy - avatar
5 Answers
+ 6
Where is your solution?
30th Nov 2021, 8:16 AM
A͢J
A͢J - avatar
+ 3
John Delvin That is pure Code Java so why django or react?
30th Nov 2021, 5:13 PM
A͢J
A͢J - avatar
+ 1
Using core java
30th Nov 2021, 8:45 AM
swamy
swamy - avatar
30th Nov 2021, 5:47 PM
Simon Sauter
Simon Sauter - avatar
+ 1
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ i skipped something while reading the queston.
30th Nov 2021, 8:17 PM
John Delvin
John Delvin - avatar