Monday, August 22, 2011

ICT 203 - Q1c

I would check the location of the associate member within the subscribeMagazine method in the Associate subclass to determine if the Associate Member is eligible to subscribe for the magazine. If the member is eligible to subscribe for the magazine, within the subscribeMagazine method, it will check to see if the member wants to subscribe for the magazine. If the member is eligible and wants to subscribe to the magazine, the value of the variable subscribeMagazine (true) is returned, else false will be returned. The value of the variable subscribeMagazine returned will be used in the computeFee method. If the value of variable subscribeMagazine is true, the additonalFee variable will be added in the calculation of the totalFee, else the additionalFee will not be added to the totalFee.

Question

No comments:

Post a Comment