Question: use jGRASP Create an abstract class called GeometricFigure. Each figure includes a height, a width, a figure type, and an area. Include an abstract method
use jGRASP
Create an abstract class called GeometricFigure. Each figure includes a height, a width, a figure type, and an area. Include an abstract method to determine the area
of the figure. Create two subclasses called Square and Triangle. Create an appli- cation that demonstrates creating objects of both subclasses, and store them in an
array. Save the files as GeometricFigure.java, Square.java, Triangle.java, and UseGeometric.java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
