<?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="Class (programming) - Page 18 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=class_(programming)&amp;p=17">1.Previous</a><br />
<a accesskey="3" href="page.php?w=class_%28programming%29&amp;p=19">3.Next</a>
</p>
<p>access to the class itself. Only methods that are part of the same class can access private members.<br/>
* Protected (or class-protected) allows the class itself and all its subclasses to access the member.<br/>
* Public means that any code can access the member by its name.</p>

<p>Although many object-oriented languages support the above access specifiers, their semantics may differ.</p>

<p>Object-oriented design uses the access specifiers in conjunction with careful design of public method implementations to enforce class invariants--constraints</p><p>
<a accesskey="1" href="page.php?w=class_(programming)&amp;p=17">1.Previous</a><br />
<a accesskey="3" href="page.php?w=class_%28programming%29&amp;p=19">3.Next</a>
</p>

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

</card>
</wml>
