title: What is the difference between "extends" and "implements" in java with respect to performance and memory,etc
body: <p>What is the difference between <strong>extends</strong> and <strong>implements</strong> in java with respect to performance and memory,etc.
  For example take the following scenarios,</p>
  
  <pre><code>1)
  
  public interface PrintResult
  {
    public final int NO_ERROR=0;
    public final int SUCCESS=1;
    public final int FAILED=-1;
  }
  
  
  public class PrintProcess implements PrintResult
  {
    //Perform some operation
  }
  
  
  
  2)
  
  public class PrintResult
  {
    public final int NO_ERROR=0;
    public final int SUCCESS=1;
    public final int FAILED=-1;
  }
  
  
  public class PrintProcess extends PrintResult
  {
    //Perform some operation
  }
  </code></pre>
  
  <p>For above scenarios (1,2) what is difference between using <strong>extends</strong> (deriving child class), <strong>implements</strong> (implementing interface). with respect to performance,memory,etc. ?</p>