Oct 10, 2018

[HDGEM] The Observer Pattern, as the name suggests, is used in scenarios when updates need to be done at multiple points (Observers) depending on changes in state at another place (Subject).

Each of the Observers has to register themselves with the Subject, individually. The Subject should also provide methods that allow the observers to remove themselves. Registered observers are informed of changes in state through a notify method.

--
Posted By Blogger to HDGEM at 3/02/2017 07:55:00 AM