When do you prefer to use composition than aggregation?
Answer Posted / dan
Use composition if parts cannot exist w/o container; Use
aggregation if parts can exist w/o container.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the need of UML diagrams?
How would you define architecture?
Why is it required to have an abstraction layer in uml?
What is Association and its types?
Explain about the difficulties of interchange format of UML?
Difference between Activity and Sequence Diagram?
What is package diagram in UML with example?
Why analysis is a major part in object designing?
What are the static diagrams in UML?
What is modeling? What are the advantages of creating a model?
What are the basic notational elements which can make up a diagram?
What are sequence diagrams in UML?
What is the difference between rely clause and guarantee?
What is the difference between uses and extends?
What are UML Messages?