Q) Draw an inheritance hierarchy for class Quadrilateral, Trapezoid, Parallelogram, Rectangle and square.Use Quadrilateral as the base of the hierarchy. Make the hierarchy as deep as possible.
Can anyone help me to create it as a proper program?
[QUOTE]Q) [B]Draw [/B]an inheritance hierarchy... [/QUOTE] Take a pencil and a piece of paper and DRAW, DRAW, DRAW! By the way, this is an initial phase in any serious programming endeavor : put something on paper first. Don't start to run before you can walk. Read More