Glossary Object Oriented Analysis and Design / Term
Combining attributes and methods into one unit and hiding its internal structure of objects.
A design principle of objects in which both data and program logic are included within a single self-contained unit.
A key principle of object-oriented design and programming. Encapsulation includes: keeping both methods and variables together in a single clump or object; preventing code outside the object from accessing the inside of the object directly; and creating an outside, or interface, that your class presents to the outside world and that does not change.
The technique of combining the data and the functions responsible for operating on that data into a single object.
The technique of controlling access to the attributes and operations of an object.
Encapsulation is a process of information hiding. It is simply the combination of process and data into a single entity. Data of an object is hidden from the rest of the system and available only through the services of the class. It allows improvement or modification of methods used by objects without affecting other parts of a system.
Permanent link Encapsulation - Creation date 2023-02-22