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

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -