What is true regarding the Observer pattern? There is a many-to-many dependency
ID: 3834973 • Letter: W
Question
What is true regarding the Observer pattern?
There is a many-to-many dependency between the observable classes and the <<Observer>> abstract class;
<<Observer>> must implement the method update();
Changes to the classes that implement <<Observer>> do not affect the observable classes;
Whenever there is a change in the observers, all observables will be notified;
There is a many-to-many dependency between the observable classes and the <<Observer>> abstract class;
<<Observer>> must implement the method update();
Changes to the classes that implement <<Observer>> do not affect the observable classes;
Whenever there is a change in the observers, all observables will be notified;
Explanation / Answer
Ans: <<Observer>> must implement the method update();
THis is False : Whenever there is a change in the observers, all observables will be notified;, because any change in observables, it notify all its observers
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.