Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cs504

2 views
Skip to first unread message

aasi...@gmail.com

unread,
Dec 26, 2007, 9:11:01 PM12/26/07
to
Question:

Object models (as described for example using class diagrams) often
incorporate the
following relations:
· generalisation-specialisation (inheritance)
· whole-part (aggregation)
· association
· object is instance of class
· Composition
Using whichever of these relations you feel is most appropriate, draw
simple diagrams to
model the ideas in each the following sentences (you should use the
appropriate UML
notation and include labels and numbers where appropriate).
i. PCB is responsible to manage Cricket team that contains players.
ii. A four sided shape is a square or rectangle or a parallelogram.
iii. Fred's car is a Honda
iv. Files contain records and records contain either numerical values
or text or both.
v. University has departments and departments has faculty.

0 new messages