Card 49 / 76: What is true about composition association? (Choose all that apply.)
A)
It has a weak relationship.
B)
It has a strong relationship.
C)
It has lifecycle responsibility for the objects in the relationship.
D)
It can have a one-to-one multiplicity.
E)
It can have a one-to-many multiplicity.
Answer:
B) It has a strong relationship.
C) It has lifecycle responsibility for the objects in the relationship.
D) It can have a one-to-one multiplicity.
E) It can have a one-to-many multiplicity.
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
B is correct because composition relationships are a strong relationship.
C is correct because the object that is composed of the other objects has a lifecycle responsibility
for these objects.
D and E are correct because one object can be composed of only another single object, or an object can be composed of many objects, like an array.
A is incorrect.
A is incorrect because composition association is a strong relationship, not weak.
|