what is data Abstraction? and give example
Answer Posted / swetha
abstraction refers to the act of representing essential
features without including the background details or
explanations.
for example: you are driving a car. you only know the
essential features to drive a car e.g.,gear handling,use of
clutch,accelerator etc.but while driving do you get into
internal details of car like wiring,motor wiring,etc.you
just change the gears or apply the brakes etc.what is
happening inside is hidden from you. this is abstraction
where you only know the essential things to drive a car
without including the background details or explanations.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are pointer-to-members in C++? Give their syntax.
How do you flush a buffer in c++?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
What is virtual table?
What are references in c++?
How do we implement inheritance in c++?
What is the use of string in c++?
Why should we use null or zero in a program?
What is a dangling pointer in c++?
What is meant by const_cast?
Difference between pointer to constant vs. Pointer constant
What is the difference between *p++ and (*p)++ ?
what kind of projects are suitable for c and c++
What happens if a pointer is deleted twice?
Why is c++ considered difficult?