OO Programming in Java

Class 6

Quiz


Design an object model and appropriate scenario diagrams for a program to handle the price calculation for a video rental store. The system must automatically compute the correct rental fees at checkout time.

The store has an inventory of tapes available for rent. Valid customers are allowed to borrow these tapes by paying a fee at the time of rental.

Fees and rental periods vary depending on the tape, and promotions. Examples of promotional fees are:

Any promotional pricing conflicts will be resolved in favor of the consumer (the cheapest price).