The Observer defines a one-to-many relationship so that when one object changes state, the others are notified and updated automatically.
Reference: https://sourcemaking.com/design_patterns/observer
Reference: https://sourcemaking.com/design_patterns/observer
No comments:
Post a Comment