what is data abstraction with example.



what is data abstraction with example. ..

Answer / vaishali

The concept of abstraction relates to the idea of hiding data that are not needed for presentation. 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.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More OOPS Interview Questions

where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?

2 Answers   Infosys, Microsoft,


What is memory leak and memory corruption?

1 Answers   TCS,


What are two types of polymorphism?

0 Answers  


what isthe difference between c structure and c++ class

5 Answers  


#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

0 Answers  






What is the use of oops?

0 Answers  


write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation

1 Answers   College School Exams Tests, HCL, IBM, TCS,


What is a superclass in oop?

0 Answers  


What is the important feature of inheritance?

0 Answers   BPL,


Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??

1 Answers  


WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

1 Answers  


Can we override main method?

0 Answers  


Categories