- Objects that subclass the Observable class maintain a list of observers.
- The Observer interface is implemented by objects that observes Observable object.
- When an Observable object is updated it invokes the update method of each of its observers to notify the observers that it has changed the state.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.