what is data Abstraction? and give example
Answers were Sorted based on User's Feedback
Answer / sandeep kumar
data abstraction hide the actual implementation or hide the actual working
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mak
Data Abstraction is leaving behind the unwanted properties
and taking only the Essential properties for defining the class.
Example:
When writing a class for a Employee, say John as Object
will require (Essential Properties) Empno, Dob, Doj, Salary,
Salary calculation logic as function etc.,
But john will be having properties like Height, Weight,
Color etc., which is not required for the class we are
defining..
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vatsal
DATA ABTRACTION I SIMPLY HIDING UN-NECCESSARY THING WHICH ARE NOT USEABLE & SHOWING THING WHICH ARE USEABLE SO THE DATA...
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sayed waseem tutorails phd fro
Data abstraction is any device that allows you to treat data
as humans encounter it rather than as it is stored on machine.
At the lowest level, all primitive data types are
abstractions -- as programmers, we don't usually have to
deal with data at the bit level (which is how it is
ultimately stored) but as integers, floating point numbers,
characters, etc.
We then add layers onto that abstraction -- maybe two
integers represents a Point, or we and enumerations to
represent the months of the year, days of the week, etc.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / umair
data abstraction mean definning somthing but not in detail
there are two types of data abstraction
e.g
main()
{
add();
sub();
}
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anuj sharma
data abstraction is a process of representing the essential
features without including implementation details.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ambika soni
It is a process or a concept in which unwanted data and information exist in hidden form. A user needs not to know this detail.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / faisal
Abstraction is the representation of only the essential features of an object and hiding un essential features of an object.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / atul sharma
Data abstraction allowed only essential features like it
only execute the data member of an real word object of
particular class without background activity.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mahmud hasan
Data abstruction is a process of representing the essential
features without including the background details or
explanations.
The concept of data abstruction relates to the idea of
hiding data that is not needed for presentation.
Is This Answer Correct ? | 0 Yes | 0 No |
Can member data be public?
What is 'Copy Constructor' and when it is called?
What is function overloading in C++?
What is java and c++?
What are the benefits of c++?
Why is the function main() special?
Friend functions can access private and protected members of a class.
What does #define mean in c++?
What are advantages of C++ when comparing with C?
18 Answers HP, iGate, TCS,
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
Types of storage and scope of each type
What is the stack?