Composition

A composition describes a relationship in which one object completely controls another object that has not an independent lifecycle.

Why use over inheritance

Last updated