Card 64 / 72: Which design pattern you would you use to assign more functionality to an object without sub-classing it?
A)
Bridge design pattern
B)
Adapter design pattern
C)
Composite design pattern
D)
Decorator design pattern
Answer:
D) Decorator design pattern
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |