assignments:a4
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| assignments:a4 [2013/07/16 15:24] – pawluk | assignments:a4 [2013/08/13 01:03] (current) – pawluk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Assignment 4 ====== | ====== Assignment 4 ====== | ||
| - | ===Due date: <del>Wednesday</ | + | ====Due date: SUNDAY, July 21 2013 (11: |
| + | <del>Due date: FRIDAY, July 19 2013</ | ||
| * [[http:// | * [[http:// | ||
| | | ||
| + | ===== 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: |
| + | | ||
| + | * record of the operations performed on a TOOTH can be associated with a TOOTH or a PATIENT with a reference to the TOOTH, you should consider consequences, | ||
| + | Other design elements are quite obvious. | ||
| + | |||
| + | ===== Resources ===== | ||
| Cover Page: [[http:// | Cover Page: [[http:// | ||
assignments/a4.1373988287.txt.gz · Last modified: by pawluk
