Data abstraction with an example
Answers
Answered by
4
Answer:
Data abstraction refers to providing only essential information about the data to the outside world, hiding the background details or implementation. Consider a real life example of a man driving a car. ... This is what abstraction is. Abstraction using Classes: We can implement Abstraction in C++ using classes.
Answered by
3
Explanation:-
- Data abstraction refers to, providing only essential information to the outside world and hiding their background details, i.e., to represent the needed information in program without presenting the data.
Example:-
- 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 its internal details, 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.
Similar questions