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 Android Security Essentials Live Lessons this week in the Android 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
 
Don't get me started about those stupid light bulbs.
 
subject: Data abstraction
 
Similar Threads
oops
difference between abstraction and encapsulation
Data Abstraction
tell me what is Abstraction
CS/Engineering Terminology and Compromises in Modeling