What is encapsulation in object oriented programming ?

Publicado el: 14 mayo 2023
en el canal de: The Digital Folks
56,539
2.2k

Encapsulation bundles data (attributes) and methods together inside the wrapper called class.
Similar to capsules where different kind of medicines are are kept together inside the top cover, here data and methods are kept inside top cover called called "class".
To consume medicines inside capsule, first we need to uncover top layer. Similarly here, to access data and methods of class we need to uncover class by creating object for this.


En esta página del sitio puede ver el video en línea What is encapsulation in object oriented programming ? de Duración hora minuto segunda en buena calidad , que subió el usuario The Digital Folks 14 mayo 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 56,539 veces y le gustó 2.2 mil a los espectadores. Disfruta viendo!