what is data Abstraction? and give example

Answer Posted / gaurab varshney

Data Abstraction is the process by which data and programs
are defined with a representation similar to its meaning
(semantics), while hiding away the implementation details.
Abstraction tries to reduce and factor out details so that
the programmer can focus on a few concepts at a time. A
system can have several abstraction layers whereby
different meanings and amounts of detail are exposed to the
programmer.
For example, low-level abstraction layers expose details of
the hardware where the program is run, while high-level
layers deal with the business logic of the program.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by function pointer?

832


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

1736


Why was c++ made?

838


What is encapsulation in c++ with example?

755


How do I download c++?

741


Can java be faster than c++?

875


What is the difference between struct and class?

1051


What is c++ programming language?

827


What is a pointer with example?

886


what are function pointers?

757


What is the two main roles of operating system?

727


What is a class definition?

806


What is pair in c++?

807


What is the basic structure of a c++ program?

816


What is the function of I/O library in C++ ?

882