Number of questions 1,751
Number of tests completed 250,977
Number of questions answered 3,748,390
Number of registered users 19,125
Sign In | Register
Skip Navigation Links
Question: Match this design pattern: Add responsibilities to objects dynamically
Answer1: Singleton
Answer2: Adapter
Answer3: State
Answer4: Strategy
Answer5: Decorator
Answer: Decorator

Explaination: Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
Link: External Explaination

Correctly answered: 1780
Incorrectly answered: 3649
Terms of Use Ver. 2.0.6783.38332