Analysis and Design   
   
     
   
   
   
   
     
   
Analysis and Design..... Design Patterns

Decorator pattern

The decorator pattern is an alternative to subclassing when you have lots of potential subclasses which may benefit from using functionality from some of the other subclasses. Instead of normal inheritance, you can create an interface enabling you to "decorate" your class with the implementation of your other classes.
Source: Developer.com


Topic viewed 629 times.