Q. It is also known as Wrapper, it is used when subclassing is not possible or practical to add functionality and it is used to add functionality at runtime. This pattern is (Solved)
1. compostite
2. decorator
3. adapter
4. observer
- b. decorator