Encapsulation (computer programming): Difference between revisions

Content deleted Content added
There was a Script warning on the page from a cite book template, "Category:CS1 maint: date and year", fixed by removing the redundant date= field as year= was already set
RussBot (talk | contribs)
m Robot: Editing intentional link to disambiguation page in hatnote per WP:INTDABLINK (explanation)
 
(One intermediate revision by one other user not shown)
Line 1:
{{Short description|Bundling of data}}
{{otherOther uses|Encapsulation (disambiguation){{!}}Encapsulation}}
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.