SE701:Drawing simple shapes using OOP principles: Difference between revisions

From Marks Wiki
Jump to navigation Jump to search
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 ...
 
(No difference)

Latest revision as of 20:18, 15 February 2008

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.