Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes implementation hiding vs abstraction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "implementation hiding vs abstraction" Watch "implementation hiding vs abstraction" New topic
Author

implementation hiding vs abstraction

Kevin Peterson
Ranch Hand

Joined: Mar 05, 2005
Posts: 37
what is the difference between implementation hiding and abstraction?

Thanks, Kp
Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
[edit]
Im sorry, but is this a school question? if so, then you ought to make an effort and try to answer the questions yourself. That's the only way you learn something.
[/edit]

To the question:

According to the IEEE definitions

abstraction is a view of a problem that extracts the essential information relevant to a particular purpose and ignores the remainder of the information.

and information hiding is the technique of encapsulating software design decisions in modules in such a way that the module's interfaces reveal little as possible about the module's inner workings; thus each module is a 'black box' to the other modules in the system.

Did that help ?


/Svend Rost
[ March 06, 2005: Message edited by: Svend Rost ]
Kevin Peterson
Ranch Hand

Joined: Mar 05, 2005
Posts: 37
Ok, thanks that does make more sense.

-Kp
 
 
subject: implementation hiding vs abstraction