Encapsulation and data abstraction

What is encapsulation and data abstraction?




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

2015 ©TutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.