Observer is a behavioral design pattern . It specifies communication between objects: observable and observers. An observable is an object which notifies observers about the changes in its state. For example, a news agency can notify channels when it receives news.15 May 2021
Read moreWhere is Observer pattern used?
Observer pattern is used when there is one-to-many relationship between objects such as if one object is modified, its depenedent objects are to be notified automatically . Observer pattern falls under behavioral pattern category.
Read more