Exforsys
Results 1 to 2 of 2

Which has weaker relationship

This is a discussion on Which has weaker relationship within the Java forums, part of the Programming Talk category; Among aggreation and composition which has weaker relationship. I also need to know the reason for this. Someone share your ...

  1. #1
    priyaraji is offline Member Array
    Join Date
    Apr 2006
    Answers
    52

    Which has weaker relationship

    Among aggreation and composition which has weaker relationship. I also need to know the reason for this. Someone share your knowledge on this.

  2. #2
    ashlee is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    108
    The relationship in case of Aggregation is dynamic with one way directional link generally used. In contrast in the case of composition the relationship is static with bi-directional link generally used. The link between the parent and child classes in aggregation is weak. So aggregation has weaker relationship.