Decorator Pattern

Decorator Pattern

Decorator Pattern Decorator pattern is technique where existing object behavior to be added dynamically or in another word when we change object behavior at runtime which is also called in java runtime polymorphism.