Encapsulation or Data hiding or Information hiding.
In Object-oriented Programming Encapsulation is a technique to hide or restricted the access to the properties and behaviours of an object.
Encapsulation is a process of wrapping code and data together into a single unit, for example a capsule in which mixed of several medicines.
Encapsulation mechanism keeps the data and the code safe from external interference.
Access restriction to the properties and methods by using the keywords private, public, protected in a class.
Webster Dictionary Meaning
1. Encapsulation- The act of inclosing in a capsule; the growth of a membrane around (any part) so as to inclose it in a capsule.
Category: Computer Programming
Share it: Cite
Previous: ← Polymorphism
Next: Abstraction →
More from this Section
In programming, a function is a procedure that performs a specific task. It is ...
ActionScript is a object-oriented programming language for the Adobe Flash Player and ...
Bit is an electronic signal that denotes a zero or a one; the smallest unit of representation ...
- Computer-Aided Engineering (CAE)
Computer-Aided Engineering (CAE) refers the use of computers to guide or control the actual ...
- OOP Class
OOP Class is the short form for Object-Oriented Programming Class in the highly popular ...