Table of Contents

Assignment 4

Due date: SUNDAY, July 21 2013 (11:59pm)

Due date: FRIDAY, July 19 2013

Solution

Family

You can use a single class in a design and express everything else as has-a relations. The other option is to create classes for MOTHER and FATHER, and DAUGHTER and SON and remaining as has-a relations.

Folders

A typical composite example where FOLDER is a container and inherits from FILE, and files can be placed in a container.

Dental

Key elements are:

Other design elements are quite obvious.

Resources

Cover Page: pdf and doc