what is data Abstraction? and give example
Answer Posted / ankur
the data abstraction defining the essential features without
representing the background detail.
class result
{
int marks;
float percentage;
char name[40];
void input();
void output();
}
void main()
{
bank b1;
b1.input();
b1.output();
}
the other example in student detail we just use the
stu_id,stu_branch,stu_clg, we we'll not represent it 's
backgroung as,who is the mother of student,etc thing .
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a multiset c++?
What is #include iostream?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What is a block in c++?
What is the this pointer?
What are the rules for naming an identifier?
What is stl containers in c++?
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
What is lvalue?
What is virtual function? Explain with an example
Define pointers?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What is constant in c++ with example?
Can I learn c++ without learning c?
What is const in c++?