Which design pattern defines one-to-many dependency among objects?
A. Singleton pattern
B. Facade Pattern
C. Observer pattern
D. Factory method pattern
Answer:A
Which design pattern defines one-to-many dependency among objects?
A. Singleton pattern B. Facade Pattern C. Observer pattern D. Factory method pattern
Explanation:Observer pattern defines one-to-many dependency among objects so that when one object changes its state, all its dependents are notified.