What type of design pattern is decorator?

Decorator is a structural design pattern that lets you attach new behaviors to objects by placing these objects inside special wrapper objects that contain the behaviors.

Leave a Reply

Your email address will not be published. Required fields are marked *