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