Encapsulation
(noun)
- The act or process of enclosing something in or as if in a capsule.
- The practice or process of designing an object-oriented program by binding together data and functions within objects.
- The coating of a substance with a protective material.
Origin:
Late 19th century: from encapsulate, on the pattern of encapsulation in electronics.
Examples:
- The encapsulation of the medicine kept it fresh and effective for a longer period of time.
- One of the advantages of encapsulation in programming is that it makes code more organized and maintainable.
- The encapsulation of the electrical components protected them from damage during transportation.
- The technique of encapsulation allowed the scientists to study individual cells in a controlled environment.
- The encapsulation of the data into a single packet helps in the efficient transfer of information over a network.