Encapsulation

From CSSEMediaWiki
Revision as of 14:40, 8 August 2009 by Matthew Harward (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Encapsulation means the enclosing internal features or ideas.

In the context of computer science, this term means the logical separation of a concept from another. Often this is related to the hiding of information behind a defined interface.

In OO design, this term takes on a stronger meaning. Not only is encapsulation from the user, other computing entities or even other programs, but also within programs themselves.

In OO design, several different types of encapsulation are proposed:

External References

See Also

Personal tools