Encapsulation

  • Authors:
  • David Weiss

  • Affiliations:
  • -

  • Venue:
  • Encyclopedia of Computer Science
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Encapsulation is a technique used to isolate some of the design decisions made in writing a program. To encapsulate decisions, a program is organized into an interface, such as a set of procedures, and an internal part. All access to the program's services are available only through the interface. As a result, programs that use those services cannot reference variables internal to the program or arbitrarily transfer control to its internal part.