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
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
What is static function? Explain with an example
Why c++ is so important?
What's the order in which the objects in an array are destructed?
What is a map in c++?
How is data hiding achieved in c++?
Why do we use pointers in c++?
What is a pointer with example?
What are c++ data types?
Why would you use pointers in c++?
What do you understand by zombie objects in c++?
why and when we can declar member fuction as a private in the class?
How can you link a c program with a c function?
When there is a global variable and local variable with the same name, how will you access the global variable?
What is the difference between reference and pointer?