title: default method in Java 8 interface
body: <p>Suppose I have 3 methods (same name, different parameter, same return type), is there a way I can define one default method which implement the 3 methods (<code>Foo</code> in my example)?</p>
  
  <p><strong>Previous implementation</strong></p>
  
  <pre><code>public interface testFoo {
      public int Foo (int a);
      public int Foo (int a, int b);
      public int Foo (int a, int b, int c);
  }
  </code></pre>
  
  <p><strong>New Implementation</strong>,</p>
  
  <pre><code>public interface testFoo {      
      default public int Foo (int a) {
          return a+1;
      }
  
      default public int Foo (int a, int b) {
          return b+1;
      }
  
      default public int Foo (int a, int b, int c) {
          return c+1;
      }
  }
  </code></pre>