<?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="Polymorphism (computer science) - Page 23 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Polymorphism_(computer_science)&amp;p=22">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Polymorphism_%28computer_science%29&amp;p=24">3.Next</a>
</p>
<p><big>Static and dynamic polymorphism</big></p>
<p>Polymorphism can be distinguished by when the implementation is selected: statically (at compile time) or dynamically (at run time, typically via a <a href="page.php?w=virtual_function">virtual function</a>). This is known respectively as <a href="page.php?w=static_dispatch">static dispatch</a> and <a href="page.php?w=dynamic_dispatch">dynamic dispatch</a>, and the corresponding forms of polymorphism are accordingly called static polymorphism and dynamic polymorphism.</p>

<p>Static polymorphism executes</p><p>
<a accesskey="1" href="page.php?w=Polymorphism_(computer_science)&amp;p=22">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Polymorphism_%28computer_science%29&amp;p=24">3.Next</a>
</p>

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

</card>
</wml>
