Monday, August 22, 2011

ICT 203 - Q1a ( Foundations in Modern System Design)

Classes involved would be the superclass called Membership, and the subclasses Ordinary and Associate. The superclass Membership would be an abstract class with its common (generic) attributes such as memberName, address and totalFee, and methods such as computeFee(), which would be inherited and reused by the Ordinary and Associate subclasses. Thus, the Ordinary and Associate subclasses have a “is a” relationship with its superclass Membership.


No comments:

Post a Comment