Skip to content
Sharp

Software Architecture · interview question

Which of the following is a potential architectural smell indicating the need for the Observer Pattern in a Java application?

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

Correct answer

C. Tight coupling between the event source and multiple event handlers.

Why

Tight coupling between the event source and handlers suggests that the system lacks flexibility and extensibility. The Observer Pattern can address this by decoupling the source from handlers, enhancing modularity.

Test yourself on Software Architecture

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

Start free test
All Software Architecture questions →