Use the first set of information to create an online order

Assignment Help Basic Computer Science
Reference no: EM13208355

Create a class named Order that performs order processing of a single item. The class has three fields: customer, item, and quantity ordered. Include set and get methods for each field. This class also needs methods to compute the total price (quantity * unit price) and to display the fields. For credit customers, ensure they are within the limit before allowing them to place an order. Create a subclass OnlineOrder that overrides computePrice() by adding a shipping and handling charge $4.00. Write a program that uses these classes. Create a child class InstoreOrder that has an instance variablestoreLocation. Save the programs as Order.java, InstoreOrder.java, OnlineOrder.java. Create a class UseHandlingShipping.java which will create one instore order and one online order. USe menu to ask gather customer information and order details. Use the first set of information to create an Online order and the second one for creating an instore order. After the orders are placed, print a report of the inventory reflecting the current items in the inventory. You will also need to create the inventory object with at least 3 items instock.

Reference no: EM13208355

Questions Cloud

Create an equally weighted portfolio : Create an equally weighted portfolio of five computer software stocks. Is such a portfolio a diversified portfolio? What is the beta of the portfolio? What is the expected return of the portfolio?
Natural environment of a bird in an artistic composition : If an artist wanted to emphasize the natural environment of a bird in an artistic composition, the use of which medium might be most appropriate?
Calculate the total of the scores by using while loop : Write a program to calculate the average of the class by following steps: 1. Ask user input how students in the class 2. Use random function to generate the score (between 0 and 100) for each student and calculate the total of the scores by using ..
What is the npv of project : The risk free rate is 4%, the market risk premium (the average difference between the return on the market and the risk-free rate) is 5%, and the wine project will be financed with $600,000 of debt. What is the NPV of this project?
Use the first set of information to create an online order : After the orders are placed, print a report of the inventory reflecting the current items in the inventory. You will also need to create the inventory object with at least 3 items instock.
Create an instance variable credit limit to indicate : Create another sub class CreditCustomer. Create an instance variable credit limit to indicate the maximum limit ($500). Credit customers get a markup of 2% on the order price.
What defense or defenses will big petroleum invoke : Current legislation limits the amount of economic-related liabilities to be paid by a company on account of an oil spill to $75 million.
Write an app that uses a foreach statement to sum the values : Write an app that uses a foreach statement to sum the values passed by the command line argument. Hint: Use static method ToDouble of class Convert to covert a string to a double value.
Use the smallest possible array to solve this problem : Use the smallest possible array to solve this problem. Display the complete set of unique value input after the user inputs each new value.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  The mode of a list of values is the score

For this project you will write a program to compute the arithmetic mean (average), median, and mode for the values read in from TopicFin.txt. The program results will be written to TopicFout.txt.

  Function prototypes lack parameters

These function prototypes lack parameters; add whatever parameters you feel are necessary so that the program works without global variables. The program's output should reflect the bus's actions by reporting each change in state, along with the n..

  High-level descriptions of customer-s expectations

It needs to have high-level descriptions of the customer's expectations and the criteria for success. You need to describe why these are the best choices and why alternatives will not work as well.

  Determine how many bit strings of length six are present

How many bit strings of length 6 are there? Describe completely. How many bit strings of length 6 are there which begin with 0 and end with a 0?

  Design hardware and software driver-byte-wide data transfer

Design the hardware and software driver that will implement a byte-wide data transfer from your processor to a peripheral device.

  What is achievable steady-state throughput

The receiver uses a conservative flow control policy and updates its credit allocation at every opportunity. What is the achievable steady-state throughput?

  Difference in tossing a fair coin to get half-and-half hs-ts

When we toss a fair coin, we expect that we get roughly half-and-half Hs and Ts. Of course, this might not happen in general: the question is, how bad can the difference get?

  Recognize interface metaphor to use for conceptual design

For conceptual design (architectural or high-level), recognize the interface metaphor to use, interaction type(s) to employ, and interface type(s) to follow. For each of these, make sure to describe why you select what you did.

  Client health-care facilities-information-gathering process

shoulde patients in client health-care facilities participate in the information-gathering process? if so,why , and in what ways should they participate?

  Determine probability that contention ends on round k

Determine the probability that a contention ends on round k, and what is a mean number of rounds per contention period?

  Monthly reporting form for checking account customers

As part of a larger system project. Clone Bank of Clone, Colorado, desires your help in setting up a new monthly reporting form for its checking account customers.

  How open-source software products-successful growth strategy

Open-source software products like Linux, be successful growth strategy in "brutally competitive marketplace" in which it operates? Why or why not?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd