Design Pattern

Structural Patterns are design patterns, which describe the best possible ways to combine the objects and classes forming a larger complex structure in an easy manner.

Design Pattern

Design Pattern

       

 

Structural Patterns are design patterns, which describe the best possible ways to combine the objects and classes forming a larger complex structure in an easy manner. It deals with the objects delegating responsibilities to other objects. It is a simple way to design and realize relationships between the entities. 

  1. Decorator Design Pattern
    This section deeply discusses the Decorator design pattern, a kind of structural pattern. In object-oriented programming, the decorator pattern allows the developers to add new behaviors to an existing functionality of an object, dynamically. The decorator pattern can be used whenever there is a need to add some additional functionality to an object or to the group of objects. It provides a flexible alternative for subclassing to extend the functionality.

Read more at:

http://www.javajazzup.com/issue5/page37.shtml