Software Engineering KB

Home

❯

05 Software Design and Architecture

❯

00 OOP and SOLID Principles

❯

01 Concept

❯

Encapsulation (OOP)

Encapsulation (OOP)

Feb 10, 20261 min read

  • oop
  • encapsulation

Encapsulation (OOP)

← Back to Core OOP Concepts

Hide internal state, expose behavior through interfaces. Objects control access to their data through well-defined methods, preventing external code from depending on implementation details.

Key Properties

  • Information Hiding
  • Access Modifiers
  • Getter and Setter Methods

Related

  • Abstraction (complementary concept)
  • Law of Demeter (reinforces encapsulation)

oop encapsulation


Graph View

  • Encapsulation (OOP)
  • Key Properties
  • Related

Created with Quartz v4.5.2 © 2026

  • GitHub