previous | index | next

Example

Our working example will be to design a program that allows online clothes shopping.

There will be two primary classes of objects:

and two subclasses of items of clothing:

previous | index | next