Override a default method using lambdas
<p>Given a simple interface with a default method:</p>

<pre><code>private interface A {
    default void hello() {
        System.out.println("A");
    }
}
</code></pre>

<p>And a method that accepts an instance of it:</p>

<pre><code>private static void print(A a) {
    a.hello();
}
</code></pre>

<p>I can override this using an anonymous class: </p>

<pre><code>print(new A() {
    @Override
        public void hello() {
        System.out.println("OverHello");
    }
});
</code></pre>

<p>but if I try with a lambda <code>print(() -&gt; System.out.println("OverHello2"));</code>, I get a compilation error.</p>

<blockquote>
  <p>No target method found</p>
</blockquote>

<p>Is there a way to make the override with a lambda?</p>