<?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="Design Patterns - Page 5 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Design_Patterns&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Design_Patterns&amp;p=6">3.Next</a>
</p>
<p>'<a href="page.php?w=object_composition">object composition</a>' over '<a href="page.php?w=Inheritance_%28object-oriented_programming%29">class inheritance</a>'." (Gang of Four 1995:20)</p>

<p>The authors claim the following as advantages of <a href="page.php?w=Interface_%28computer_science%29">interfaces</a> over implementation:<br/>
* clients remain unaware of the specific types of objects they use, as long as the object adheres to the interface<br/>
* clients remain unaware of the classes that implement these objects; clients only know about</p><p>
<a accesskey="1" href="page.php?w=Design_Patterns&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Design_Patterns&amp;p=6">3.Next</a>
</p>

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

</card>
</wml>
