Aggregation represents composedof relationship - Objects Design

Q.  Aggregation represents ______ .
- Published on 24 Jul 15

a. is_a relationship
b. part_of relationship
c. composed_of relationship
d. none of above

ANSWER: composed_of relationship
 

    Discussion

  • Nirja Shah   -Posted on 15 Oct 15
    Relationship among classes
    - An important characteristic among classes is how do they interact with each other.

    - The UML explains the mechanics of this interaction by means of the relationships it defines.

    - The relationships are classified as under:

    External links
    - Basic relationship among objects.

    Association
    - Family of links

    Aggregation
    - A variant of the "has a" relationship.
    - It is an association that represents a part- whole or part-of relationship.

    Composition
    - A stronger aggregation which represents the "is composed of" relationship.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)