title: Partial implementation of an interface
body: <p>Having only a small amount of time to search for such things, I could not see anything that covered my specific scenario.</p>
  
  <p>I am working with a 3rd party interface.  Let us say for a moment it is as follows:</p>
  
  <pre><code>    public interface interface1
      {
          public String getVar1();
  
          public void  method1();
  
          public void method2();
  
      }
  </code></pre>
  
  <p>I need to create a number of classes that make use of this interface but the actual method implementation of "method2" would differ on each,where as "method1" and "getVar1" would always be the same code.</p>
  
  <p>Is there any way to create an abstract base class that implements the interface but only forces the implementation of "method2" onto the child classes?  </p>
  
  <p>I had tried</p>
  
  <pre><code>public abstract @Override void method2
  </code></pre>
  
  <p>but while this is "acceptable" at design time in Netbeans (don't know if Eclipse acts differently) at compile time it complains that method2 needs to be implemented.</p>
  
  <p>If it is not possible, fair enough, I just need to check.</p>
  
  <p>thanks</p>