title: Implementing two interfaces with two default methods of the same signature in Java 8
body: <p>Suppose I have two interfaces:</p>
  
  <pre><code>public interface I1
  {
      default String getGreeting() {
          return "Good Morning!";
      }
  }
  
  public interface I2
  {
      default String getGreeting() {
          return "Good Afternoon!";
      }
  }
  </code></pre>
  
  <p>If I want to implement both of them, what implementation will be used?</p>
  
  <pre><code>public class C1 implements I1, I2
  {
      public static void main(String[] args)
      {
          System.out.println(new C1().getGreeting());
      }
  }
  </code></pre>