Transcription: In object-oriented design, the term hasa applies to classes that are composed of objects of other classes. In contrast, the term isa applies to the relationship of public inheritance. Here, a drink machine object has a status object, OK, a selection object, menu, and a change object, coins.