SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

MISCELLANEOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
SampleClass and Class3 has composition relationships
A
true
B
false
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -When an object contains the other object, if the contained object cannot exist without the existence of container object, then it is called composition. Example: A class contains students. A student cannot exist without a class. There exists composition between class and students.

Detailed explanation-2: -Explanation: Composition is a strong type of Association relationship because in this case, objects are strongly dependent on each other.

There is 1 question to complete.