what is data Abstraction? and give example
Answer Posted / sujit
it is process of representing the essential features
without knowing the background details,
we use the member functions and data members in the class
but we dont know how it works.
EX.
class abc
{int l;
void getdata();
};
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of turbo c++?
Define a constructor?
Explain the difference between realloc() and free() in c++?
How the endl and setw manipulator works?
what is scupper?
What is the use of bit fields in structure declaration?
What are references in c++?
Explain Text Manipulation Routines?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
Is there a sort function in c++?
What is the use of cmath in c++?
What is general form of pure virtual function? Explain?
What is data abstraction? How is it different from data encapsulation?
What is the use of endl?
What is the history of c++?