Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data Abstraction

 
Rick Charles
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How data abstraction is achieved in java ?
 
Jeff Storey
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic