Skip to content

Glossary: Software Design Patterns in Java

Delegation

Also written: delegate

Handing a job to another object you hold instead of doing it yourself. `Product.total` asks its pricing and wrapping parts.

Where the book teaches it

Related terms

Composition