1.

What do you mean by data encapsulation?

Answer»
  • Data Encapsulation is an Object-Oriented Programming CONCEPT of hiding the data attributes and their behaviours in a single unit.
  • It helps DEVELOPERS to follow modularity while developing software by ENSURING that each object is independent of other OBJECTS by having its own methods, attributes, and functionalities.
  • It is used for the security of the private properties of an object and HENCE serves the purpose of data hiding.


Discussion

No Comment Found