Question: Part 1: Develop the abstract class (GeoFigure.java) which will have the following variables: height, width, figureType and area. The class should have the appropriate constructors,

Part 1: Develop the abstract class (GeoFigure.java) which will have the following variables: height, width, figureType and area. The class should have the appropriate constructors, getters, setters, toSting and equals methods and an abstract method named area which will calculate the are of the figure. Part 2: Develop an interface (SidedObject.java) containing a method displaySides) which displays the number of sides of an object. Part 3: Develop two Triangle.java) which extend the class GeoFigure.java and implement the interface SidedObject.java Part 4: Develop an application (DemoGeoFigure.java) that demonstrates both subclasses. Submit all 5 programs. classes (Square java and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
