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
Explain how to initialize a const data member.
When does a name clash occur in c++?
What is setbase c++?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
What is an iterator class in c++?
Where and why do I have to put the "template" and "typename" keywords?
Why pointer is used in c++?
Can a built-in function be recursive?
What is a storage class?
How can I learn c++ easily?
Explain bubble sorting.
Why is the function main() special?
What's the hardest coding language?
What is difference between malloc()/free() and new/delete?
Explain the problem with overriding functions