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 are various kinds of invariants and rulesets used in uml?
What is behavioral diagram in UML?
What is unified modeling language (uml)?
How do we represent private, public and protected in class diagrams?
Why are attributes used in uml?
What is deployment diagram in UML?
What is an object lifeline?
What are boundary, entity and control classes?
What is static modeling and dynamic modeling in UML?
Explain the types of diagrams in UML.
What is contract?
Given the requirements, how will you go about designing them? How will you convert business info to technical info?
What is an activity diagram?
What is UML diagram?
What are the different views that have to be considered before the buildup of an object oriented software system?