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
Evaluate !(1&&1||1&&0) a) Error b) False c) True
What is null pointer and void pointer?
What is a manipulator in c++?
What is the full form of india?
Explain the difference between abstract class and interface in c++?
What is scope in c++ with example?
Specify some guidelines that should be followed while overloading operators?
Are strings mutable in c++?
What is the difference between a baller and a reference in C++?
What is low level language in simple words?
What is abstract keyword in c++?
What's the order in which the objects in an array are destructed?
What is a c++ object?
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?