Decorator - Interview Questions

What is Decorator Design Pattern?

 FAQkey Concept

The GoF design patterns book defines Decorator design pattern as follows - 'Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to sub-classing for extending functionality.'

 
Subscribe to our Questions

 

Design Patterns - Interview Questions

Abstract FactoryFactoryBuilderPrototypeSingletonAdapterBridgeCompositeDecoratorFacadeFlyweightProxyChain Of ResponsibilityCommandInterpreterIteratorMediatorMementoObserverStatestrategyTemplateVisitor
 
RECOMMENDED RESOURCES
Behaviorial Interview
Top resource to prepare for behaviorial and situational interview questions.

STAR Interview Example