what is data Abstraction? and give example
Answer Posted / chandan jana
The main idea behind data abstraction is to give a clear
separation between properties of data type and the
associated implementation details. This separation is
achieved in order that the properties of the abstract data
type are visible to the user interface and the
implementation details are hidden. Thus, abstraction forms
the basic platform for the creation of user-defined data
types called objects. Data abstraction is the process of
refining data to its essential form.
In object-oriented programming language C++, it is possible
to create and provide an interface that accesses only
certain elements of data types. The programmer can decide
which user to give or grant access to and hide the other
details. This concept is called data hiding which is similar
in concept to data abstraction.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the type of this pointer in c++?
What is an adaptor class or wrapper class in c++?
What is virtual base class uses?
What is a flag in c++?
What is meant by iomanip in c++?
How is data hiding achieved in c++?
What is function overriding in c++?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
Is oops and c++ same?
Which programming language's unsatisfactory performance led to the discovery of c++?
What are pointer-to-members? Explain.
What is code reusability in c++?
Can you please explain the difference between using macro and inline functions?
program explaining feautures of c++
What is array in c++ pdf?