Question: IN JAVA!! We will use the geometric concepts of the Quadrilateral, Trapezoid, Parallelogram, Rhombus, Rectangle, and Square classes to draw a UML diagram to show
IN JAVA!!
We will use the geometric concepts of the Quadrilateral, Trapezoid, Parallelogram, Rhombus, Rectangle, and Square classes to draw a UML diagram to show the superclass and subclasses relationship.
The UML diagram must include:
1) Instance variables (including but not limited to such as angles, length of each side, and two Boolean variables to describe whether the opposites are parallel or not.)
2) The functions (including but not limited to such as getters/setters, and validating functions to check if the information in instance variables could form a valid geometric shape.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
