Thursday 26 June 2014

Abstraction and Encapsulation in C++

Abstraction and Encapsulation in C++



Basically in C++ the shortest definition of these two can be is 


Abstraction

 Is the act of basically representing essential features without including the background details.

And


The Encapsulation

Is the way of combining both data and the functions that operate on the data under a single unit .

Encapsulation is the way of implementing abstraction.

No comments:

Post a Comment