The text of this article is not in this database — only its details are. Read it on the old site: Dependency, Generalization, Association, Aggregation, Composition in Object Oriented Programming
15 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.

asif majeedPosted Mar 6, 2022, 1:20 PM
Can any one Answer me? If in the last example of Composition relationship, if i want to get the univerity name inside the department object to query something, what will be the Procecedure?
Nadeem NazirPosted Dec 29, 2018, 6:53 AM
Please elaborate how teacher instances can't belong to more than one department instance in case of aggregation?
Arif KhanPosted Dec 4, 2017, 3:26 AM
Very Well explained...
Najiya BegumPosted Jun 10, 2016, 11:41 AM
Thank You so much.. very well explained.
Monis AzharPosted Nov 4, 2015, 2:06 PM
Excellent... Nicely explained.!
pankaj guptaPosted Jul 28, 2015, 11:47 AM
Best examples and Explanation that no body has provided... but which is good to have... composition as strong Association or Aggregation as Week Association.... What should be the case for a Customer class object and Address class object...
Kiran BobadePosted May 21, 2015, 7:06 AM
helpful
Gowtham RajamanickamPosted May 13, 2015, 8:29 AM
Good one
Jasminder SinghPosted Feb 12, 2015, 11:58 AM
Gaurav Kumar Arora Thank u sir, I will try to do that...!!!
Gaurav Kumar AroraPosted Feb 7, 2015, 3:58 AM
concise and clear one. Jasminder Singh sir - can you please elaborate the same with some use case and UI diagrams (using any tool,I prefer to use Visio). I luv tow ork architecture things, This is good one to start.
yashPosted Oct 5, 2014, 8:24 AM
Very nice. Thank you so much for sharing useful post.
Jeetendra GundPosted Jan 22, 2014, 12:43 AM
Nice Article sir....