what is data Abstraction? and give example
Answer Posted / 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 |
Post New Answer View All Answers
Which is the best c++ software?
How can I learn dev c++ programming?
How to declare a pointer to an array of integers?
What is object in c++ example?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
What is setbase c++?
What is data hiding c++?
Explain the pure virtual functions?
How do you sort a sort function in c++ to sort in descending order?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
Do vectors start at 0 c++?
Differentiate between the message and method in c++?
What is friend class in c++ with example?
What's the hardest coding language?
What is pure virtual function?