<?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="Message passing - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Message_passing&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Message_passing&amp;p=7">3.Next</a>
</p>
<p>make systems more maintainable. E.g., rather than having IF-THEN statements that determine which subroutine or function to call, a developer can just send a message to the object and the object will select the appropriate code based on its type.</p>

<p>One of the first examples of how this can be used was in the domain of computer graphics. There are various complexities involved in manipulating graphic objects. For example, simply using the right formula to compute the area of an enclosed shape will vary depending on if the shape is a triangle,</p><p>
<a accesskey="1" href="page.php?w=Message_passing&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Message_passing&amp;p=7">3.Next</a>
</p>

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

</card>
</wml>
