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
How the delete operator differs from the delete[]operator?
Why do we need c++?
Who was the creator of c++?
Differentiate between a template class and class template in c++?
What is the use of volatile variable?
Are strings immutable in c++?
Should I learn c or c++ first?
What are the rules about using an underscore in a c++ identifier?
What is wrapper class in c++?
Explain the properties and principles of oop.
Explain how we implement exception handling in c++?
Where can I run c++ program?
Can a program run without main in c++?
What is the hardest coding language to learn?
Explain register storage specifier.