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
What is an object lifeline?
What is the function of operational assertions in uml?
What are the different parts of a deployment diagram?
What are the three different views of a system model?
Mention the different kinds of modeling diagrams used?
Brief explanation of all elements in activity diagrams
Name 9 modeling diagrams that are frequently used?
What are the messages and the dynamic diagrams?
What is the best software for UML diagrams?
Why analysis is a major part in object designing?
What is class diagram?
What are the rules specified for invariants in first order and second order information?
What are the roles played by wrappers in uml?
What is current system?
What is object diagram in UML?