oop - Object Oriented Programming "Produce A" -
how represent "produce a" relationship in oop? know such 1 doesn't exist want represent relationship of object producing object. example, chicken produces egg, musical instrument produces sound. how represent relationship?
the uml mechanism showing dependency relationship stereotype <<create>>
. in general,
<<create>> client -----------------> supplier
more information dependencies can found in wikipedia article.
Comments
Post a Comment