Question: java program screenshot please Super class : Product Member Attributes : Productno, Productname, Price, Quantity, Purchase Amount, and Discount - declare all the variables are

 java program screenshot please Super class : Product Member Attributes :

java program

screenshot please

Super class : Product Member Attributes : Productno, Productname, Price, Quantity, Purchase Amount, and Discount - declare all the variables are public. Member Methods Producto To set the input values of Productno, Productname, Price, and Quantity using parameterized constructor. Calculate To calculate the Purchase Amount using the formula Purchase Amount = Quantity * Price; Processo To calculate the discount amount and retum the discount using the following condition. 5 MARKS Purchase Amount Discount 1000-2000 2.5% of Purchase Amount 2001-3000 5.0%of Purchase Amount 3001-4000 7.5% of Purchase Amount To display the following details Productno, Productname, Price Quantity and Orderdate Display 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!