Derive a class BulkDiscount from DiscountPolicy, as described in the previous exercise. It should have a constructor that has two parameters, minimum and percent. It should define the method computeDiscount so that if the quantity purchased of an item is more than minimum, the discount is percent percent.

What will be an ideal response?

See the code in BulkDiscount.java.

Computer Science & Information Technology

You might also like to view...

By default, a new domain controller is placed in this site when you first install Active Directory

a. Default-First-Site-Name b. First-Site c. Default-Site-Name d. None of the above.

Computer Science & Information Technology

Flash files that you create have the ____ file extension.

A. .fla B. .swf C. .fls D. .swa

Computer Science & Information Technology