what is data Abstraction? and give example

Answer Posted / p.c. pandey

Data abstraction is a special type of OOP(Object Oriented
Programming) concept, by which a programmer can build the
sequre program with the true meaning of the data without
including back ground details or it's explanation.
Data abstraction also provides essential features to the
programmer.
for exampel:-
struct emp
{
char name[10};
int age;
char add[25];
}
struct emp x;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use string in c++?

704


Can a constructor return a value?

872


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

1977


Distinguish between new and malloc and delete and free().

761


Explain how the virtual base class is different from the conventional base classes of the opps.

893


Define 'std'.

890


What is the use of setprecision in c++?

726


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

816


By using c++ with an example describe linked list?

792


Should I learn c or c++ or c#?

750


What is the use of endl in c++?

779


What is the header file for setw?

807


What sorting algorithm does c++ use?

868


Define anonymous class.

805


Can you sort a set c++?

756