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 is the difference between a "copy constructor" and an "assignment operator" in C++?
Which is best c++ or java?
What is constructor and destructor in c++?
Are php strings immutable?
What is pair in c++?
Explain the isa and hasa class relationships.
How do we balance an AVL Tree in C++?
What is c++ library?
What are the advantages of using a pointer?
What is the oldest programming language?
Why ctype h is used in c++?
What is the function to call to turn an ascii string into a long?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
What are vectors used for in c++?
List the types of polymorphism in c++?