Difference between data encapsulation and abstraction?

Questions by k_george80

Showing Answers 1 - 12 of 12 Answers

Encapsulation:
Data and function that operate on that data are wrapped in a single unit.

Abstaction:
In abstratction, only interface in exopsed, the underlying details of the particular function is hidden from the programmer. So one does'nt need to worry about the details of a particular method, he or she just calls the method

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions