// GeometricObject.java: The abstract GeometricObject class public abstract class GeometricObject { private String color = "white"; private boolean filled; /**Default constructor*/ protected GeometricObject() { } /**Construct a geometric object*/ protected GeometricObject(String c, boolean f) { color = c; filled = f; } /**Getter method for color*/ public String getColor() { return color; } /**Set method for color*/ public void setColor(String c) { color = c; } /**Accessor method for filled. Since filled is boolean, so, the get method name is isFilled*/ public boolean isFilled() { return filled; } /**Set method for filled*/ public void setFilled(boolean f) { filled = f; } /**Abstract method findArea*/ public abstract double findArea(); /**Abstract method findPerimeter*/ public abstract double findPerimeter(); }