SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

MISCELLANEOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Aggregation represents ____
A
is ____ a relationship
B
part ____ of relationship
C
composed ____ of relationship
D
none of above
Explanation: 

Detailed explanation-1: -1. Association between two objects that illustrate the “has-a” relationship is called Aggregation. A composition defines a part-of a relationship, and both the entities are connected to each other. 2. Here the objects are independent of each other.

Detailed explanation-2: -Aggregation is a special case of association where all objects have their own lifecycle. It is represented by an empty diamond followed by a line. Aggregation represents ‘whole-part’ or ‘a-part-of’ relationship.

Detailed explanation-3: -Association refers to “has a” relationship between two classes which use each other. Aggregation refers to “has a"+ relationship between two classes where one contains the collection of other class objects. Inflexible in nature.

There is 1 question to complete.