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

What is vector processing?

677


What are vectors used for in c++?

633


How does atoi function work?

636


What information can an exception contain?

675


Why is main an int?

540






Define pre-condition and post-condition to a member function in c++?

674


How many namespaces are there in c++?

567


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

561


What is c++ prototype?

597


Do class declarations end with a semicolon?

612


Should the member functions which are made public in the base class be hidden?

572


Write my own zero-argument manipulator that should work same as hex?

594


What is the use of namespace std in C++?

635


What are the different types of comments allowed in c++?

588


Explain this pointer?

593