"must implement inherited abstract method"
<p>I had this original parent abstract class Geometric and i was extending it in Octagon, and also implementing Comparable and Cloneable. IDK why i keep getting the above error.Help with be appreciated. </p>

<pre><code>class Octagon extends GeometricObject implements Cloneable, Comparable{
  private double side;
  public class Octagon(){
  }
  public class Octagon(double s){
    side=s;
  }
  public double getArea(){
    return (2+4/Math.sqrt(2))*side*side;
  }
  public double getPerimeter(){
    return 8*side;
  }
  public int compareTo(Object o){
    if (getArea()&gt;((Octagon)o).getArea()){
      return 1;
    }
    else if (getArea()&lt;((Octagon)o).getArea()){
      return -1;
    }
    else 
      return 0;
  }
  public Object clone() throws CloneNotSupportedException{
    super.clone();
  }
}
</code></pre>

<p>And this is my Geometric Class</p>

<pre><code>public abstract class GeometricObject{
  private String color="white";
  private boolean filled;
  private java.util.Date dateCreated;

  protected GeometricObject(){
    dateCreated=new java.util.Date();
  }

  protected GeometricObject(String color, boolean filled){
    dateCreated=new java.util.Date();
    this.color=color;
    this.filled=filled;
  }

  public String getColor(){
    return color;
  }
  public void setColor(String color){
    this.color=color;
  }
  public boolean isFilled(){
    return filled;
  }
  public void setFilled(boolean filled){
    this.filled=filled;
  }
  public java.util.Date getDateCreated(){
    return dateCreated;
  }
  public String toString() {
    return "created on "+dateCreated+"\ncolor: "+color;
  }
  public abstract double getArea();
  public abstract double getPerimeter();
}
</code></pre>
