1. Computing
Send to a Friend via Email



Definition: Encapsulation in Object Oriented programming refers to the convention of not allowing one part of a program to modify another part of the program without an interface. For example, one object should not modify the internal state (the instance variables) of another object without an interface. Doing so may cause undesirable and difficult to debug behavior.

©2014 About.com. All rights reserved.