Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Abstraction, Encapsulation and Information Hiding

 
satyaind Murthy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

This is the first message i posted in this site.
I need one clarification about Abstraction,Encapsulation and Information Hiding.It seems they all looks similar in meaning but i know they are very different.
What are the exact differnces about these three object oriented concepts?
Are that all means showing and hiding the information?
Can any one please clarify on this?


Regards,
Satya
 
wise owen
Ranch Hand
Posts: 2023
 
Paulo Asterio Nunes
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
great shoot !
 
Kay Ra
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Short answer

abstraction-- essential features or jist of the system
Information hiding-- Not exposing certain aspects.
Encapsulation--- presenting an object in a compact manner with its behavior and structure tied together.
[ May 19, 2006: Message edited by: Kay Ra ]
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kind of scary that Dr. David Lorge Parnas outlined the basic concepts of object-oriented development in the paper On the Criteria To Be Used in Decomposing Systems into Modules that he published way, way, way back in 1972.
IEEE Software Best Practices: Missing In Action: Information Hiding.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic