what is data Abstraction? and give example
Answer Posted / shruthi
Data abstraction enforces a clear separation between the
abstract properties of a data type and the concrete details
of its implementation. The abstract properties are those
that are visible to client code that makes use of the data
type—the interface to the data type—while the concrete
implementation is kept entirely private, and indeed can
change, for example to incorporate efficiency improvements
over time. The idea is that such changes are not supposed to
have any impact on client code, since they involve no
difference in the abstract behaviour.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the four main data types?
What are the two types of comments, and how do they differ?
Is java based off c++?
Write about the role of c++ in the tradeoff of safety vs. Usability?
What is c++ and its uses?
What does ios :: app do in c++?
What is the function of I/O library in C++ ?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What is the hardest coding language to learn?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What are the rules about using an underscore in a c++ identifier?
How do you save a c++ program?
What are the implicit member functions of class?
What is the purpose of extern storage specifier?
Are vectors faster than arrays?