What is data encapsulation?
Encapsulation means to restrict the direct access to something from someone. Data Encapsulation means restricting the implementation date of the backend code from the user. It is mostly used in Object Oriented Programming languages to prevent the data integrity present in the object.
BY Best Interview Question ON 14 Mar 2023