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 use of lambda in c++?
Do you know the use of vtable?
What is #include math h in c++?
why and when we can declar member fuction as a private in the class?
How new/delete differs from malloc()/free?
List the issue that the auto_ptr object handles?
Do class declarations end with a semicolon?
Why was c++ made?
Which software is best for c++ programming?
What is c++ runtime?
If I is an integer variable, which is faster ++i or i++?
What are the benefits of pointers?
How a macro differs from a template?
Can a program run without main in c++?
How do I start a c++ project?