Categories: Excelling Homework

CS55 Santa Monica College Think of Real Life Shopping Java This assignment is so important for me, so I need to get at least 90. Please follow the instruct

CS55 Santa Monica College Think of Real Life Shopping Java This assignment is so important for me, so I need to get at least 90. Please follow the instructions carefully

professor ” Hint: Think of real life shopping:

Don't use plagiarized sources. Get Your Custom Essay on
CS55 Santa Monica College Think of Real Life Shopping Java This assignment is so important for me, so I need to get at least 90. Please follow the instruct
For $10/Page 0nly
Order Essay

Example: TargetStore has ArrayList of Items, ShoppingCart, and Customer and more.

TargetStore should have method to add and remove Customer. Customer should have her/his

own ShoppingCart. ShoppingCart should have addItem, removeItem methods and Also know

total values……

I will give partial credit and bonus on how you expand this project” Project- OOP / Inheritance
Instructions
1. Write a comment at the top that contains the following information
// Your Name
// Comment
//
2. Properly indent, format and comment your code as necessary
Warning: – No late submission is accepted!
Shopping
Cart
The Following is just base start. You have to change it as you wish:
Implement a program that tracks customers’ purchases. Create the following
classes. Use appropriate access modifiers (instance variables should be
private!) and data types for each. Do not forget to add getter and setter
functions.
?
Item: This class has the attributes (member variables) called title,
description, and price.
o Book: This class inherits from Item. It has an instance variable called
pageCount.
o Movie: This class inherits from Item. It has an instance variable called
length.
o CD: This class inherits from Item. It has an instance variable called
trackCount.
? ShoppingCart: This class keeps track of items that were bought. You
may limit the number of items in the cart. The cart should have
functions to add an item and print the items currently in the cart to the
console.
? Customer: The customer class stores an id, the first name and
the last name and a pointer to a shopping cart object.
Very important hint:
Object oriented programing problem solving is very simple if you think
of real things, we do every day. This project given as base to see how
do you expand it (you will get credit on that). Let say you go to Target
buy things. Target has Shopping Cart, Items, Customers, Cashiers,
you pick up Shopping Cart and add item or remove an item. Item knows
its price and where was its location. Shopping Cart knows total amount
of items.
Make sure each class has method of toString() also always have member
That uniquely identifies that object.
Use comments to list your suggestion to improve this project.

Purchase answer to see full
attachment

admin

Recent Posts

Economic Debate #3- Progressive Income Tax – The Homework Helper

Economic Debate- Progressive Income Tax For this Economic Debate, we are going to discuss the…

2 years ago

MKT 6120 – Marketing Management – Davis Learning Engagement #7

TOPIC: Going Global Discussion Thread 1 (initial post due Wednesday for full credit) Please note:…

4 years ago

jvjvjhvjhvhjvj

Assignment Topic This week will culminate in the creation of a narrated PowerPoint to create…

4 years ago

Students are supposed to select a technological organization of their choice.

The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…

4 years ago

Increases the risk of wildfires

you need to post your 2-page information flier to share with your Final Project Group.…

4 years ago

Statistics for Technology management

discussion: Discuss the methods used at your company to measure and ensure quality products and…

4 years ago