Concept of Encapsulation in Object Oriented Programming

preview_player
Показать описание
Encapsulation is closely related to abstraction and data hiding, in one-word encapsulation is a protective shield. It is one of the fundamentals of OOP which hide data and structure of methods inside a class. It prevents unauthorised access to data and how it processing inside a class.
#programming #encapsulation #objectorientedprogramming
Рекомендации по теме