Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of the 'Observer' design pattern?
Answer: The Observer design pattern defines a one-to-many dependency between objects, so that when one object changes state, all its dependents are notified and updated automatically.

Example:

Implementing event handling in graphical user interfaces.
Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook