what is data Abstraction? and give example
Answer Posted / sudhachandan banerjee
Data abstraction refers to, providing only essential information to the outside word and hiding their background details ie. to represent the needed information in program without presenting the details.
Data abstraction is a programming (and design) technique that relies on the separation of interface and implementation.
Let's take one real life example of a TV which you can turn on and off, change the channel, adjust the volume, and add external components such as speakers, VCRs, and DVD players BUT you do not know it's internal detail that is, you do not know how it receives signals over the air or through a cable, how it translates them, and finally displays them on the screen.
Thus we can say, a television clearly separates its internal implementation from its external interface and you can play with its interfaces like the power button, channel changer, and volume control without having zero knowledge of its internals.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Define pre-condition and post-condition to a member function in c++?
Can I learn c++ without c?
How many different levels of pointers are there?
Is linux written in c or c++?
What is c++ virtual inheritance?
What is an overflow error?
Which programming language's unsatisfactory performance led to the discovery of c++?
What are iterators in c++?
What is the iunknown interface?
What are the types of container classes?
Can create new c++ operators?
How can you say that a template is better than a base class?
What is c++ coding?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
To which numbering system can the binary number 1101100100111100 be easily converted to?