subject

Please can anyone do it for me faster :( Create a class named Purchase that performs order processing of a single item. The class has five fields: customer name, customer number, quantity ordered, unit price, and total price. Include set and get methods for each field except the total price field. The set methods prompt the user for values for each field. This class also needs a method to compute the total price (quantity times unit price) and a method to display the field values. Create a subclass named PurchaseOrder that overrides purchasePrice() by adding a shipping and handling charge of $5.00. Write an application named UseOrder that instantiates an object of each of these classes. Prompt the user for data for the Order object, and display the results; then prompt the user for data for the PurchaseOrder object, and display the results.(20 marks)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:50
What does operator overloading allow you to do?
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
question
Computers and Technology, 24.06.2019 12:00
An npn transistor is correctly biased and turned on if the a. base is negative. b. collector is negative. c. collector is positive with respect to the emitter and negative with respect to the base. d. collector is the most positive lead followed by the base.
Answers: 1
You know the right answer?
Please can anyone do it for me faster :( Create a class named Purchase that performs order processi...
Questions
question
Mathematics, 08.07.2019 12:30
question
Mathematics, 08.07.2019 12:30
question
Arts, 08.07.2019 12:30
question
Mathematics, 08.07.2019 12:30
question
Mathematics, 08.07.2019 12:30
question
Mathematics, 08.07.2019 12:30
Questions on the website: 13722360