<?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="Inheritance (object-oriented programming) - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=inheritance_(object-oriented_programming)&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=inheritance_%28object-oriented_programming%29&amp;p=4">3.Next</a>
</p>
<p>and <a href="page.php?w=friend_function">friend function</a>s of the base class. Inheritance allows programmers to create classes that are built upon existing classes, to specify a new implementation while maintaining the same behaviors (<a href="page.php?w=Class_diagram">realizing an interface</a>), to reuse code and to independently extend original software via public classes and <a href="page.php?w=interface_%28object-oriented_programming%29">interface</a>s. The relationships of objects or classes through inheritance give rise to a <a href="page.php?w=directed_acyclic_graph">directed acyclic graph</a>.</p><p>
<a accesskey="1" href="page.php?w=inheritance_(object-oriented_programming)&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=inheritance_%28object-oriented_programming%29&amp;p=4">3.Next</a>
</p>

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

</card>
</wml>
