Question: Identify the classes and their relationship by drawing class diagram ( same class attribute / inheritance / association / aggregation / composition ) in each

Identify the classes and their relationship by drawing class diagram (same class attribute/ inheritance/ association/aggregation/composition) in each of them
(i)A square is a polygon.
(ii)Sandra is a student.
(iii)Students live in dormitory.
(iv)A department has many students.
(v)A country has a capital city.
(vi)Computer peripheral and printer.
(vii)A car has four doors.
(viii)A hospital has many doctors.
(ix)100 cent is 1 dollar
(x)A file is an ordinary file or a directory file

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!