SE701:Drawing simple shapes using OOP principles

From Marks Wiki
Revision as of 20:18, 15 February 2008 by Mark (talk | contribs) (New page: This will be a small program on the side which will allow me to use classes, generic methods, multiple inheritance etc... My program will consist of a super type "Shape" and classes that ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This will be a small program on the side which will allow me to use classes, generic methods, multiple inheritance etc...

My program will consist of a super type "Shape" and classes that inherit from it - eg. squares, rectangles, lines. They will all have a "draw" method. They are different shapes and will have different implementations of the draw method. I might have an "area" method too. The shapes will be output to console or to file in ASCII.