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
Which ide is best for c++?
what are Access specifiers in C++ class? What are the types?
What is a pdb file?
What is a dll entry point?
How can we check whether the contents of two structure variables are same or not?
What is the function of I/O library in C++ ?
Which programming language's unsatisfactory performance led to the discovery of c++?
Differentiate between declaration and definition.
Describe new operator?
What is a syntax in c++?
What does the linker do?
How we can differentiate between a pre and post increment operators during overloading?
How static variables and local variablesare similar and dissimilar?
Discuss the possibilities related to the termination of a program before entering the mainq method?
Why do we use setw in c++?