1
edit
Changes
no edit summary
===Decorator Design Pattern===
[[Image:DecoratorUML.png|frame|UML Class diagram of the decorator pattern]]
Attach additional responsibility to an object dynamically. Decoratores provide a flexible alternative to subclassing for extending functionality.
==Sample Code==