What is encapsulation?

Technology CommunityCategory: OOPWhat is encapsulation?
VietMX Staff asked 3 years ago

Encapsulation is defined as the process of enclosing one or more items within a physical or logical package. Encapsulation, in object oriented programming methodology, prevents access to implementation details.