Wednesday, 19 June 2013

difference between Data Abstraction and Data Encapsulation

Encapsulation :- the wrapping up of data and functions into single unit (called class) is known as encapsulation.
Data encapsulation is the most strinking feature of the class , in this  data is not accessable to the outside of the world
Abstraction :-
 the act of representating essential features without including the  background details or explanations. classes use the concept of abstraction.

0 comments:

Post a Comment