create an application named ShapesDemo that creates several objects that descent from abstract class called GeometricFigure. Each GeometricFigure include a height, width and an area. provide get and set accessors dor each field except area; the area is computed and is read-only. include and abstract method called ComputeArea() that computes the area of the GeometricFigure.
- A Rectangle is geometricFigure whose area is determined by multiplying width by height.
- a Square is a Rectangle in which the width and height are the same. provide a constructor that accepts both height and width, forcing them to equal if they are not. provide a second constructor that accepts just one dimension and uses it for both height and width. The square class uses the rectangle's ComputeArea() method.
- A Triangle is a Geometric
- figure whose area is determined by multiplying the width by half the height.

Shweta LodhaRank #31 · 39.8K reputationPosted Nov 3, 2014, 3:17 PM EST
Instead of posting the entire requirement here, I would suggest you to please post specific error/question. You can start at your own and in case if you stuck at any point then post it here. Appreciate your co-operation.
Riddhi ValechaRank #794 · 2.9K reputationPosted Nov 3, 2014, 11:15 PM EST
Is this windows application / web application ??
And do you expect a drawing sort of this ??
holavi Dekann5 reputationPosted Nov 4, 2014, 1:38 PM EST
holavi Dekann5 reputationPosted Nov 4, 2014, 1:41 PM EST