Card 66 / 72: What are the consequences of applying the GOF Decorator pattern?
A)
it makes the client code easier by interacting with a single uniform interface
B)
the client code can traverse tree structures of arbitrary depth recursively
C)
it will will not alter the class inheritance hierarchy to accommodate for the additional functionality
D)
it allows to nest layers of decorators to add more functionality
Answer:
C) it will will not alter the class inheritance hierarchy to accommodate for the additional functionality
D) it allows to nest layers of decorators to add more functionality
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |