<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Multiple inheritance - Page 20 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=multiple_inheritance&amp;p=19">1.Previous</a><br />
<a accesskey="3" href="page.php?w=multiple_inheritance&amp;p=21">3.Next</a>
</p>
<p><code>B</code> and <code>C</code> which both have a method <code>F()</code>, thus satisfying an interface <code>A</code>, the compiler will complain about an "ambiguous selector" if <code>D.F()</code> is called, or if an instance of <code>D</code> is assigned to a variable of type <code>A</code>. <code>B</code> and <code>C</code>'s methods can be called explicitly with <code>D.B.F()</code> or <code>D.C.F()</code>.<br/>
* <a href="page.php?w=Java_%28programming_language%29">Java</a> 8 introduces default methods on interfaces. If <code>A</code>,</p><p>
<a accesskey="1" href="page.php?w=multiple_inheritance&amp;p=19">1.Previous</a><br />
<a accesskey="3" href="page.php?w=multiple_inheritance&amp;p=21">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
