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 is microsoft c++ redistributable 2013?

578


Can you explicitly call a destructor on a local variable?

604


What is c strings syntax?

610


What are the advantages of pointers?

602


What happens when you make call 'delete this;'?

603






Why iomanip is used in c++?

643


Explain the difference between abstract class and interface in c++?

533


State the difference between pre and post increment/decrement operations.

611


Define upcasting.

594


How would you implement a substr() function that extracts a sub string from a given string?

570


What is binary object model?

605


What does extern mean in a function declaration in c++?

706


What is the use of default constructor?

572


What are pointer-to-members in C++? Give their syntax.

619


Explain the benefits of proper inheritance.

642