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:00, 16 January 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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