Python encapsulation
In Object Oriented Programming (OOP) languages encapsulation is a mechanism to wrap up variables and methods together as a single unit. It is the process of hiding information details and protecting data and behavior of the object.
Objectives
-
Try to understand encapsulation feature conceptually
-
Python encapsulation with example