what is data Abstraction? and give example
Answer Posted / abhay shukla
ata abstraction is a process of representing the essential
features without including implementation details.
example:
class result
{
int marks;
float percentage;
char name[20];
void input();
void output();
}
main()
{
bank b1;
b1.input();
b1.output();
}
in the above example, b1 is an object calling input and
output member functions, but that code is invisible to the
object b1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is null pointer used?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
When should we use multiple inheritance?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
How can you quickly find the number of elements stored in a static array?
Why c++ is so important?
Why we use #include conio h in c++?
What is token c++?
Does c++ support multilevel and multiple inheritances?
What language is a dll written in?
Why is c++ called oops?
What is c++ mutable?
What is the full form of stl in c++?
What does new in c++ do?
What is #include iostream?