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 the basic of c++?
What are the advantages of c++?
Can I learn c++ without c?
What is scope in c++ with example?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
Is map ordered c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Does improper inheritance have a potential to wreck a project?
what is VOID?
What are function prototypes?
Tell me an example where stacks are useful?
What do you mean by public protected and private in c++?
What is implicit pointer in c++?
Write about c++ storage classes?
What is the basic difference between C and C++?