Skip to content
Sharp

Software Architecture · interview question

In implementing the Observer Pattern, which method is typically called to notify observers of a change?

Multiple choiceMediumchapter-13-curatedpremiumsoftware-architectureobserver-pattern
Choose one answer
Answer and explanation

Correct answer

B. NotifyObservers()

Why

The notifyObservers() method is called on the Observable object to notify all registered observers of a change or event.

Test yourself on Software Architecture

A free test with instant, explained results. No account needed.

Start free test
All Software Architecture questions →