Object Oriented Programming using C#
Inheritance and Method Overriding
Feedback 4
Note: RentCollector does not inherit from Building as a RentCollector is a person not a type of Building. However there is
a relationship (an association) between RentCollector and Building ie. a RentCollector needs to determine the rent for a
Building in order to print out the bill.
Activity 5
Looking at the feedback from Activity 4 and determine if a RentCollector can print out a bill for the rent due on a house (or
can they just print a bill for buildings?).
Challenging? Not challenging? Try more
Try this...
Please click the advert