The _______ design pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.

  • Command
  • Observer
  • Prototype
  • Singleton
The Observer design pattern defines a one-to-many dependency between objects. When the state of one object changes, all its dependents (observers) are notified and updated automatically.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *