what is data Abstraction? and give example
Answer Posted / tariq shadid
this style data representations and their associated primitive operations are
encapsulated in an abstract data type or object. The components of this style are
the objects—or, if you will, instances of the abstract data types. Objects are
examples of a sort of component we call a manager because it is responsible for
preserving the integrity of a resource (here the representation). Objects interact
through function and procedure invocations. Two important aspects of this
style are (a) that an object is responsible for preserving the integrity of its
representation (usually by maintaining some invariant over it), and (b) that
the representation is hidden from other objects.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between C and CPP?
Differentiate between a pointer and a reference with respect to c++.
Why null pointer is used?
what is the difference between overloading & overriding? give example.
What is diamond problem in c++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What is the difference between a declaration and a definition?
What is the difference between cin.read() and cin.getline()?
Can I learn c++ without c?
What is the v-ptr?
What is scope resolution operator in c++ with example?
What is scope operator in c++?
What are the important differences between c++ and java?
How does class accomplish data hiding in c++?
Which compiler does turbo c++ use?