Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with the Java code that need to be written. Write the program code and turn in the source file of the program

image text in transcribed

image text in transcribed

Please help me with the Java code that need to be written.

Write the program code and turn in the source file of the program into D2L Programming Assignment 2 Drop Box. (E-commerce) When shopping online, you select items and add them to a shopping cart. Duplicate items are permitted in a shopping cart, as you can purchase multiples of the same item. You also can remove an item from a shopping cart, if you change your mind about buying it. The shopping cart can show its current contents with their prices and the total cost of these items. 1. Design the ADTs item and shopping cart. Specify each ADT operation by stating its purpose, by describing its parameters, and by writing a pseudocode version of its header. Then write a Java interface for an item's methods and one for the methods of a shopping cart. Include javadoc -style comments in your code. 2. Draw a UML class diagram for MyShop class that implements one of the interfaces. 3. Write an implementation class for the UML class diagram you draw for b. Use "MyShop" class name. Your program will be graded based of the followings: 70% Compiles and runs correctly 20% Method's specification & Design 10 % Package and project structure Himas Page 70% Compiles and runs correctly Method's specification 20% & Design 10% Package and project structure What to turn in: 1. Use eclipse or the IDE of your choice and create a maven project called PA2! 2. Add a package called saintpaul.edu.pa2 to your project, src folder. 3. Add all your classes and interfaces to the saintpaul.edu.pa2 package. 4. Generate a Zip file of your PA2 assignment and that is what you need to upload to Programming Assignment 2 drop box

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago