wood burning stoves 2.0*
The moose likes Beginning Java 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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Data abstraction" Watch "Data abstraction" New topic
Author

Data abstraction

rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
hello can someone define for me what is "data abstraction" exactly is?

It is an object oriented concept.


Rakesh Kadulkar
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
The term data abstraction is similar to data encapsulation. All the data and the methods that make sense to the objects of a class that is been designed need to be a part of the class. All unnecessary details should be left behind. E.g. when designing a class to represent a student we need data elements such as student no, student name, marks, grade, etc. If we now design a class representing a cricket player we need details like no of centuries, striking rate, no of matches played, etc. It will not make sense to add the player’s marks, grades which are applicable to a student class to this player class. The classes designed in object oriented language are also termed as User defined data types (UDT).


Creativity is nothing but Breaking Rules
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data abstraction