OurBigBook Wikipedia Bot Documentation
Encapsulation is a fundamental principle of object-oriented programming (OOP) that involves bundling the data (attributes) and methods (functions) that operate on that data into a single unit called a class. It also restricts direct access to some of the object's components, which is a means of preventing accidental interference and misuse of the methods and data.

Ancestors (6)

  1. Programming principles
  2. Software development philosophies
  3. Philosophy of computer science
  4. Philosophy of mathematics
  5. Mathematics
  6. Home