Two Laptop Bag*
The moose likes Java in General and the fly likes Data 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 » Java in General
Bookmark "Data Abstraction" Watch "Data Abstraction" New topic
Author

Data Abstraction

Rick Charles
Greenhorn

Joined: Jul 27, 2006
Posts: 25
How data abstraction is achieved in java ?
Jeff Storey
Ranch Hand

Joined: Apr 07, 2007
Posts: 230
Hi Rick,

That's a pretty broad question ... data abstraction is a combination of many things. Start by looking at the concept of interfaces and abstract classes. Interfaces allow you to specify WHAT a class does NOT HOW it happens. This way, you can deal with just interfaces and when the details of the implementation change, that should be of no (or little) concern.

Abstract classes let you specify common methods and functionality among a group of classes (and often implement an interface).

These are just a couple of things to look into, but if you have more specific questions or topics, please feel free.

Jeff


Jeff Storey
Software Developer
[url]http://jeffastorey.blogspot.com[/url]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data Abstraction
 
Similar Threads
Abstraction vs Encapsulation
oops
difference between abstraction and encapsulation
tell me what is Abstraction
CS/Engineering Terminology and Compromises in Modeling