Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Java Design Patterns Tutorial
→
Java Design Patterns Interview Questions in Java Design Patterns Tutorial
→
What Is Observer Design Pattern In Java?
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.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What Is Observer Design Pattern In Java? When Do You Use Observer Pattern In Java?
What Is Factory Pattern In Java? What Is Advantage Of Using Static Factory Method To Create Object?
Can You Write Thread-safe Singleton In Java?
What Is Singleton Pattern In Java?
When To Use Composite Design Pattern In Java? Have You Used Previously In Your Project?
When Will You Use A Factory Pattern?
Define A Factory With Respect To Software Development?
Which Object Oriented Method Is Used By The Creational Patterns To Instantiate Object?
A Class Instance Can Be Created Using New Operator. Why Should We Use Creational Design Patterns To Create Objects?
Define Creational Design Patterns?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies