1.

What Is Observer Design Pattern In Java?

Answer»
  • OBSERVER design pattern is based on communicating changes in state of OBJECT to OBSERVERS so that they can take there ACTION.
  • Simple example is a weather system where change in weather MUST be reflected in Views to show to public.
  • Here weather object is Subject while different views are Observers.
  • Look on this article for complete example of Observer pattern in Java.



Discussion

No Comment Found