Problem Statement
Which behavioral pattern lets an object notify other objects about changes to its state?
Explanation
The Observer pattern defines a one-to-many dependency so that when one object changes state, all its dependents are notified and updated automatically.
Practice Sets
This question appears in the following practice sets: