Oops

Hi All,

Can any one please differenciate between the Data Abstraction and Encapsulation? If possible, with code.

Thanks in Advance,
Naga:cool:

There are ample examples in the net that does that. Can you please post your specific question/doubt for us to look at that?

Thanks for your reply. In C++, these 2 concepts're implemented. As far as my understanding is encapsulation protects abstraction. Is it possible to give sample code for both.

Thanks,
Naga:cool: