Where do I use Observer pattern?

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.

Sizin İçin Seçtik  What is the difference between Observer and listener?

Leave a Reply

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