Introduction to OOP | Chapter 23: Object Interconnections : | next | previous | audio | real | text |
Sometimes want code to depend upon another class.
Sometimes want this even if the dependee doesn't know the dependant. (example, a model and its display).
Can be managed by having a separate ``dependancy manager''. When an object changes, it tells the manager ``notify my depedants''.