Jump to content

Encapsulation (computer science)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Vera Cruz (talk | contribs) at 08:01, 16 January 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, encapsulation describes how objects contain and manipulate data. Encapsulated code can generally be re-written without any need to re-write the encapsulating code.

See also: instance variable, instance method