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
What is the disadvantage of using a macro?
Which software is used to run c++ program?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Difference between a copy constructor and an assignment operator.
What are the advantage of using register variables?
What are the steps in the development cycle?
Explain what happens when a pointer is deleted twice?
What are the advantages of inheritance in c++?
What does new do in c++?
Is c++ proprietary?
What is the difference between global int and static int declaration?
Explain static and dynamic memory allocation with an example each.
What is the difference between #import and #include in c++?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
What is a block in c++?