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
More from this Section
- Computer-Aided Engineering (CAE)
Computer-Aided Engineering (CAE) refers the use of computers to guide or control the actual ...
- Programming Language
Programming Language is a language used to give instructions to computers. Which means ...
- Procedural programming
Procedural programming is a concept of programming that specifies a ...
Abstraction is one of the features of Object-oriented Programming ...