K
Multiple choices 19/50
Answer (Choose 1 answer)
Which of the following is disadvantage of Observer pattern?
Next
10 11 12 13 14 15 16 17 18
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
43 44 45 46 47 48 49 50
A. We can reuse subject and observer classes independently of each other.
B. Subject only knows that observer implement Observer interface. Nothing more.
C. Memory leaks caused by Lapsed listener problem because of explicit register and unregistering of observers.
D. There is no need to modify Subject to add or remove observers.