What is an Observer pattern give an example?

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.

Sizin İçin Seçtik  IBAN numarası ile neler yapılabilir?

Leave a Reply

Your email address will not be published. Required fields are marked *