-
Notifications
You must be signed in to change notification settings - Fork 0
Virtual TAU notes
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:
- Account class - which has the full functionality of Observer (instead of derived from it).
- 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.