Multiple choice technology architecture

What is the Decorator pattern also known as?

  1. Wrapper

  2. Adapter

  3. Composite

  4. Strategy

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Decorator is known as Wrapper because it wraps an object to add new behavior dynamically without altering its structure, stacking multiple decorators for combined effects. Adapter also wraps but for interface compatibility, not behavior extension.