What does encapsulation mean?

In software engineering, encapsulation means keeping an object's internal state behind a controlled interface so that other code does not depend on its internal representation.

nounCommon term

Software Engineering vocabulary · Programming Concepts

In Turkish: kapsülleme

How it is used

Used in code reviews when discussing private fields, public methods and class boundaries. It helps explain why direct access to internal state can be fragile.

Example sentences

  1. Encapsulation prevents callers from changing the account balance without validation.

  2. Returning the internal list directly would weaken encapsulation.

Common collocations

  • preserve encapsulation
  • break encapsulation
  • data encapsulation

More terms: Programming Concepts

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: