Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2 ( explain in detail please ) : Aggregration versus composition Recall composition is stronger than aggregation, in the sense that in a composite,

Exercise 2(explain in detail please): Aggregration versus composition
Recall composition is stronger than aggregation, in the sense that in a composite, if the whole goes away,
so does the part (if the book goes away, so do all of its pages); in an aggregate, parts may exist even if
the aggregate goes away (if the library goes away, the books may still exist, if you think of the libray as an
aggregate of books).
Using the composition and aggregation, describe the reationship between:
The car and its wheels
The University and its Departments
Draw two simple class diagram, illustrating the scenarios above. If you are wondering about multiplicity, a
car must have precisely 4 wheels, and a University must have at least one department.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions