Answer:
I'm going to do it but you should try these things for yourself or else you won't learn.
Explanation:
-First create a project (I'm using Netbeans 14 and the project is a Maven, but the code should work on any IDE)
-Name the project 'ShoppingCartPrinter' and leave the package name as it is. This is the main class so the main method is gonna be there already.
-Then you will create a second class named 'ItemToPurchase'. So I'll leave the code in the attachment (at the bottom of my answer it's written 'Download txt') or else brainly will think it's some sort of redirection to another websites because of the 'dots' and won't let me post it.
Answer: I can't really code a whole thing for you but use VS Code for this it'll make your life easier in the long run.
Answer:view
Explanation:i just took the test