The Observer pattern:

  1. Is a behavioral pattern that defines how a single class can be notified of a change

  2. Consider the objects displaying the data and the objects containing the data as a single entity.

  3. Is also known as the publish-subscribe model where an object can publish an event that has no subscribers

  4. None of the above


Correct Option: C

Find more quizzes: