Skip to content
adirzim edited this page May 28, 2011 · 4 revisions
  • mistake correction: "Bank sends message to all 3 years saving account owners to come to the bank for the meeting with clerk."
  • all messages are sent only to relevant accounts
  • Implement a Factory method or Factory class is permitted
  • recommended parameter to Account: Account(FAMILY_TYPE, period, precentOnDep);
  • It is possible to implement the Observer design pattern as follow:
    1. Account class - which has the full functionality of Observer (instead of derived from it).
    2. Bank class - which has the full functionality of Singleton and Subject (instead of derived from it).
  • There is no need to implement the exact time of Account creation, indicating only the years is enough.

Clone this wiki locally