Question: Suppose classes C and D exist. A D object contains one instance variable which is an instance of class C. If we were modeling these

Suppose classes C and D exist. A D object contains one instance variable which is an instance of class C. If we were modeling these classes by drawing a UML class diagram, what type of relationship exists between C and D?

an aggregation relationship

a dependency relationship

a composition relationship

a generalization relationship

an inheritance relationsip

there is no relationship

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!