my dog learned polymorphism
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Data Abstraction" Watch "Data Abstraction" New topic

Data Abstraction

Rick Charles

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 Storey
Software Developer
I agree. Here's the link:
subject: Data Abstraction
It's not a secret anymore!