• 12 July

    Decorator Design Pattern

    The Decorator design pattern attach additional responsibilities to an object dynamically.It is wrap up at another object.It will extend functionality of object without affecting any other object.Decorators provide a alternative to subclassing for extending functionality. Also known as: Wrapper When to use it: Use Decoraotor to add responsibilities to individual objects dynamically without affecting other […]