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
Should you pass exceptions by value or by reference?
What is a namespace in c++?
Why is main an int?
Is turbo c++ free?
Explain the difference between struct and class in terms of access modifier.
Explain linked list using c++ with an example?
Write a function that swaps the values of two integers, using int* as the argument type?
Where are setjmp and longjmp used in c++?
What is input operator in c++?
What is the difference between new() and malloc()?
Is c++ map a hash table?
Is it possible to have a recursive inline function in c++?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
Why can’t you call invariants() as the first line of your constructor?
Explain binary search.