Composition and delegation
Adding components to containers allows the container to delegate responsibility for certain actions to its child objects
- BouncingAtomsMorph need not explicitly define behavior of all atoms
-
A fundamental principle of OOD: use hierarchical composition to build objects out of other objects.