Implementing Decorator Design Pattern
suggest changeRemarks
Pros of using Decorator:
- you can add new behavior at runtime in different configurations
- a good alternative to inheritance
- the client can choose which configuration to use
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents