Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Java%20Design%20Patterns%20Interview%20Questions%20and%20Answers

Question: 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.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook