Encapsulation (computer programming): Difference between revisions

Content deleted Content added
Undid revision 1273872865 by 2.188.26.192 (talk) unattributed copying from https://doi.org/10.22037/afb.v10i2.41131
Realtinek (talk | contribs)
m disambig
Line 1:
{{Short description|Bundling of data}}
{{other uses|Encapsulation (disambiguation)}}
In software systems, '''encapsulation''' refers to the bundling of data with the mechanisms or methods that operate on the data. It may also refer to the limiting of direct access to some of that data, such as an object's components.<ref name="Rogers01" /> Essentially, encapsulation prevents external code from being concerned with the internal workings of an object.