AlgoViz

Decorator pattern

medium 45 min

Decorator adds behaviour to one object by wrapping it in another with the same interface.