Encapsulation and information hiding

What are the differences between encapsulation and information hiding? How are these two concepts related? Explain.

Questions by ra_aat

Showing Answers 1 - 3 of 3 Answers

rrc_83

  • May 22nd, 2010
 

Encapsulation refers to the bundling of data with the methods that operate on that data. 

Hiding data is not the full extent of information hiding. Primary criteria for system modularization should concern the hiding of critical design decisions, hiding "difficult design decisions or design decisions which are likely to change." Hiding information in that manner isolates clients from requiring intimate knowledge of the design to use a module, and from the effects of changing those decisions.

  Was this answer useful?  Yes

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