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
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
Is c the same as c++?
Why do we use using namespace std in c++?
How do you establish a has-a relationship?
What are the differences between the function prototype and the function defi-nition?
What programming language should I learn first?
What character terminates all character array strings a) b) . c) END
What is a singleton class c++?
What is &x in c++?
Explain public, protected, private in c++?
What is c++ good for?
Which coding certification is best?
What is else if syntax?
Is multimap sorted c++?
Evaulate: 22%5 a) 2 b) 4 c) 0