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

  Determine present worth-future worth of soldering machine

The initial cost is in week 0 and the payments are in years 1-4. Determine the present worth, future worth, and annual worth for.

  Design a modified priority encoder

Design a modified priority encoder that receives an 8-bit input, A7:0, and produces two 3-bit outputsm Y2:0 and Z 2:0 Y indicates the most significant bit of the input that is TRUE

  Fully web-based access for both general public and secretary

Fully web-based access for both general public and Secretary of state employees a database of drivers and their personnel information contained on their drivers licenses

  Write the code for invoking a method

Write the code for invoking a method named sendSignal . There are no arguments for this method. Assume that sendSignal is defined in the same class that calls it.

  Goals of system monitoring urban weather and pollution

What goals would you have for the system besides monitoring urban weather and pollution? What legal and ethical concerns should you understand prior to deploying the network?

  How to use system tools to identify problems

How can you use system tools, such as the Task Manager, to help identify and troubleshoot these problems? Report your findings in a one page paper.

  Container that holds the water

The container that holds the water for the football team is 3/10 full. After pouring in 11 gallons of water, it is 4/5 full. How many gallons can the container hold

  Should you set in ta1ctl, and what corresponding

Which bits (including divisor bits) should you set in TA1CTL, and what corresponding countshould you set in TA1CCR0, to trigger an interrupt every 400 msec?

  Secure operations in globally interconnected commercial

Has its creation increased or decreased the need for organizations to maintain secure operation of their systems? Why?

  The load master for a freighter

The load master for a freighter wants to determine the mix of cargo to be carried on the next trip. The ship's volume limit for cargo is 100,000 cubic meters, and it weight capacity is 2,310 tons.

  Write a method called sumarray

Write a method called sumArray that takes in as a parameter an array of integers x and returns an integer. Your method should return the sum of all the values stored in x .

  Systems analyst modifying the sales order process

Suppose that you are a systems analyst on a project that involves modifying the sales order process. How many do you need to sample if you want 95 percent certainty that you have covered all variations?

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