my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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.

Don't get me started about those stupid light bulbs.
subject: implementation hiding vs abstraction
Similar Threads
Abstraction and Encapsulation
Abstraction vs Encapsulation
does abstraction gives extensibility and testability
can somebody explain me the difference between
what are the advantage of abstraction in OOP?