Python Programming Tutorial - Encapsulation

Publicado el: 12 febrero 2017
en el canal de: Amulya's Academy
91,732
1.3k

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


En esta página del sitio puede ver el video en línea Python Programming Tutorial - Encapsulation de Duración hora minuto segunda en buena calidad , que subió el usuario Amulya's Academy 12 febrero 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 91,732 veces y le gustó 1.3 mil a los espectadores. Disfruta viendo!