Sunday, June 14, 2015

Composition aggregation association

http://stackoverflow.com/questions/21967841/aggregation-vs-composition-vs-association-vs-direct-association

Composition - one obj is part of another. One does not exists outside another
Aggregation - one object uses another ( setters dependency injection)
Temporary assosiation ( method param , return value)

Delegation ?
Weak/strong assotiation

No comments:

Post a Comment