CS-16 Object Oriented Systems June-1999
Qns4(a) Improve the following object diagram by generalizing classes ‘Ellipse’ and ‘Rectangle’ to the class ‘Graphics Primitive’, transforming the object diagram so that there is only a single one-to-one association to the object class ‘Boundary’. In effect, you will be changing the 0, 1 multiplicity to exactly one multiplicity. As it stands, the class ‘Boundary’ is shared between ‘Ellipse’ and ‘Rectangle’. A ‘Boundary’ is the smallest rectangular region that will contain the associated ‘Ellipse’ or ‘Rectangle’.
Qns4(b) Draw OMT object model for a course registration system of a university.

