Is there any difference between Containment and Composition?
Answer Posted / pramod
Composition that is used to store several instances of the
composited data type is referred to as containment.
Examples of such containers are arrays, linked lists,
binary trees and associative arrays.
In UML, containment is depicted with a multiplicity of 1 or
0..n (depending on the issue of ownership), indicating that
the data type is composed of an unknown amount of instances
of the composited data type.
| Is This Answer Correct ? | 6 Yes | 13 No |
Post New Answer View All Answers
How the object diagrams gets represented in uml?
What is a communication diagram in UML?
What is crc card?
explain important relationships that are used in object- oriented modeling.
What is the function of attribute facets in uml?
What is the best software for UML diagrams?
What is the life cycle divided into?
What is the difference between responsibility-driven and data-driven approaches?
Detail whether UML can be used as a programming language?
What do you understand by relationships in uml?
What is state transition diagram in UML?
Is use case diagram static or dynamic?
What is inheritance in oosad?
Why is it required to have an abstraction layer in uml?
What do you understand by uml?