COMPUTER SCIENCE AND ENGINEERING
SOFTWARE ENGINEERING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
generalization
|
|
specialization
|
|
aggregation
|
|
association
|
Detailed explanation-1: -Association relationships are used for the relationship between instances of two classes when the relationship is not specific enough to be considered a generalization or an aggregation relationship.
Detailed explanation-2: -These four types of associations-performance, sociable, symbolic (or ideological), and productive-are quite distinct species of social organization, and each represents a distinct form of social integration.
Detailed explanation-3: -Explanation: There are basically four types of class relationships namely Inheritance, Aggregation, Composition and Association relationships between classes.
Detailed explanation-4: -Inheritance is “IS-A” type of relationship. “IS-A” relationship is a totally based on Inheritance, which can be of two types Class Inheritance or Interface Inheritance. Inheritance is a parent-child relationship where we create a new class by using existing class code.