The document discusses the observer pattern, which allows objects called observers to monitor observable objects. In real life, a person is an observer of a TV as the observable object. In Java, observable objects are called subjects and can notify registered observer objects of changes. The observer pattern works by observers registering with observables, then observables notifying observers of changes.
Related topics: