title: CircleObject is not abstract and does not override abstract method in figure
body: <p>When compiling the code below, I get the following error: </p>
  
  <pre><code>Abstrct.java:7: error: CircleObject is not abstract and does not override abstract method changePosition(int,int) in Figure
  class CircleObject extends Figure
  ^
  Abstrct.java:14: error: Kd is not abstract and does not override abstract method draw() in Figure
  class Kd extends Figure
  ^
  2 errors 
  </code></pre>
  
  <p>Using</p>
  
  <pre><code>abstract class Figure {
  
      int x, y;
  
      abstract void changePosition(int newX, int newY);
  
      abstract void draw();
  }
  
  class CircleObject extends Figure {
  
      void draw() {
          System.out.println("Draw method called");
      }
  }
  
  class Kd extends Figure {
  
      void changePosition(int newX, int newY) {
          System.out.println("Change Position method called");
      }
  }
  
  class Abstrct {
  
      public static void main(String args[]) {
          Figure q = new CircleObject();
          q.draw();
          Figure p = new Kd();
          p.changePosition(2, 4);
      }
  }
  </code></pre>