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 advantages of inheritance in c++?
Eplain extern keyword?
What are friend functions in C++?
What do you mean by late binding?
Which bitwise operator is used to check whether a particular bit is on or off?
Difference between an inspector and a mutator
Name the operators that cannot be overloaded in C++?
Can non-public members of another instance of the class be retrieved by the method of the same class?
What is the difference between interpreters and compilers?
what is data encapsulation in C++?
Where must the declaration of a friend function appear?
How are pointers type-cast?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
When should we use container classes instead of arrays?
Is recursion allowed in inline functions?