Encapsulation and data abstraction

What is encapsulation and data abstraction?

E

Expert

Verified

Encapsulation is defined as the process of wrapping up of the data and function inside the structure.

Data abstraction:

Protecting the data from direct access by the program is known as data hiding or the information binding. The data that is not accessible to outside world and only those functions that are wrapped within the class, may access it.

   Related Questions in C/C++ Programming

©TutorsGlobe All rights reserved 2022-2023.