<?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="Encapsulation (computer programming) - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=encapsulation_(computer_programming)&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=encapsulation_%28computer_programming%29&amp;p=7">3.Next</a>
</p>
<p>to object orientation.</p>

<p>The second definition reflects that in many object-oriented languages, and other related fields, the components are not hidden automatically and this can be overridden. Thus, <a href="page.php?w=information_hiding">information hiding</a> is defined as a separate notion by those who prefer the second definition.</p>

<p>The features of encapsulation are supported using <a href="page.php?w=class_%28programming%29">class</a>es in most object-oriented languages, although other alternatives also exist.</p>

<p>Encapsulation</p><p>
<a accesskey="1" href="page.php?w=encapsulation_(computer_programming)&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=encapsulation_%28computer_programming%29&amp;p=7">3.Next</a>
</p>

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

</card>
</wml>
