This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "implementation hiding vs abstraction" Watch "implementation hiding vs abstraction" New topic

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
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.

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.

I agree. Here's the link:
subject: implementation hiding vs abstraction
It's not a secret anymore!