In this python programming video tutorial you will learn about encapsulation in detail.
In an object oriented python program, you can restrict access to methods and variables. This can prevent the data from being modified by accident and is known as encapsulation.There are two type access specifiers one is private and another is public.Public methods and variables can be accessible outside the class also.But we cant access private methods outside the class and private variables can be modified only inside the class.
Objects can hold crucial data for your application and you do not want that data to be changeable from anywhere in the code. Encapsulation is helpful in this case.Two underscore at the beginning of method or variable indicates that it is private.
For more free tutorials on computer programming
/ amulsacademy
twitter.com/AmulsAcademy
Auf dieser Seite können Sie das Online-Video Python Programming Tutorial - Encapsulation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Amulya's Academy 12 Februar 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 91,732 Mal angesehen und es wurde von 1.3 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!