SOFTWARE ENGINEERING

SOFTWARE DESIGN

OBJECT ORIENTED DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is true?
A
There is no restriction on multiple associations between two classes
B
many associations between 2 same classes, must have different meanings
C
It is not allowed to represent many associations on the same 2 classes
D
Associations between the same 2 classes must be grouped into 1 association
Explanation: 

Detailed explanation-1: -You can create as many associations between classes as you need. There is no limit. You should add association-end names to clarify the purpose of each association, since without them the model will just not make much sense. However, in your example you have one association class and a normal association.

Detailed explanation-2: -Association is a connection or relationship between two separate classes. It shows how objects of two classes are associated with each other. The Association defines the multiplicity between objects. We can describe the Association as a has-a relationship between the classes.

Detailed explanation-3: -the statement which is true about class diagram is that it depicts the relationship between the classes.

There is 1 question to complete.