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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -