has-a relationship
The relationship composition expresses; a car has an engine.
A relationship where one object holds another in a field and uses it, modeled by composition rather than inheritance.
See also
The relationship composition expresses; a car has an engine.
A relationship where one object holds another in a field and uses it, modeled by composition rather than inheritance.
See also