Encapsulation
Keeping an object's data private and letting the object control how that data is used. Interact through methods instead of reaching in and changing internal details directly.
Keeping an object's data private and letting the object control how that data is used. Interact through methods instead of reaching in and changing internal details directly.