SE701:Drawing simple shapes using OOP principles

From Marks Wiki
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.