- Define a one-to-many dependency between objects
- One object changes state, all of its dependents are notified / updated automatically.
Where to use ?
- One change affects one or many objects
- Many object behavior depends on one object state
- Need broadcast communication
- Maintain consistency between objects
No comments:
Post a Comment
Note: only a member of this blog may post a comment.