title: Java duplicate method when implement
body: <p>I have one interface I need to use:</p>
  
  <pre><code>public interface I {  
        void go1();    
        void go2(); 
  }
  </code></pre>
  
  <p>Then I have  multiple classes that implement this</p>
  
  <pre><code>public class A implements I {
      @Override  void go1() { ... }   
      @Override  void go2() { ... } 
  }
  
  public class B implements I {
     @Override   void go1() { ... }   
     @Override   void go2() { ... } 
  }
  </code></pre>
  
  <p>the "go2" method is identical for all classes, and duplicating it is kinda redundant</p>
  
  <p>so is it better to:</p>
  
  <p>1) create an abstract for all these classes and put "go2" inside?</p>
  
  <p>or</p>
  
  <p>2) create "go2" in each class that and call "super()"?</p>
  
  <p>or</p>
  
  <p>3) anything better??</p>