Modelling a HAS-A relationship

Composition can be used to build up layers of abstractions, to model the HAS-A relationship.

Consider a circle. A circle contains a center point - which could be modelled as a class by itself. Thus, the circle is composed of a point which represents its center.