EMERGING TRENDS IN SOFTWARE ENGINEERING
MISCELLANEOUS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
SampleClass and Class3 has composition relationships
|
true
|
|
false
|
|
Either A or B
|
|
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.