Draw an inheritance hierarchy for classes Quadrilateral, Trapezoid, Parallelogram, Rect- angle and Square. Use Quadrilateral as the base class of the hierarchy. Make the hierarchy as deep as possible.
What will be an ideal response?

You might also like to view...
To personalize your address in your resume, you should use a resume _____.
A. blueprint B. template C. model D. example
Given a person’s year of birth, the Birthday Wizard can compute the year in which the person’s nth birthday will occur or has occurred. Write statements that can be used in a Java program to perform this computation for the Birthday Wizard.
What will be an ideal response?
Answer the following questions true (T) or false (F)
1. True/False: Comments are ignored by the computer when the program executes. 2. True/False: A single-alternative selection structure always contains an Else clause. 3. True/False: The assignment operator and the comparison operator are the same.
The most notable security flaw with the C/C++ language is the buffer overflow attack.
Answer the following statement true (T) or false (F)