Object Encapsulation

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m
Line 6: Line 6:
 
This technique is in contrast to other forms of [[Encapsulation]], the most well known and used being [[Class Encapsulation]].
 
This technique is in contrast to other forms of [[Encapsulation]], the most well known and used being [[Class Encapsulation]].
  
==Usage==
+
>==Usage==
  
 
Object encapsulation is the encapsulation method in [[Smalltalk]].
 
Object encapsulation is the encapsulation method in [[Smalltalk]].
 +
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://uzahupy.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://uzahupy.co.cc CLICK HERE]=
 +
----
 +
</div>
  
 
==See Also==
 
==See Also==

Revision as of 16:51, 15 November 2010

Object Encapsulation is a form of Encapsulation where an object only has access to data stored within itself. This means that:

  • Objects do not have access to data in other instances of the same class.
  • Objects do have access to the data of any underlying superclass.
  • Objects do not have access to data in any other object, unless provided through a method call.

This technique is in contrast to other forms of Encapsulation, the most well known and used being Class Encapsulation.

>==Usage==

Object encapsulation is the encapsulation method in Smalltalk.


See Also

Personal tools