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
Explain method of creating object in C++ ?
What are the five basic elements of a c++ program?
Tell me difference between constant pointer and pointer to a constant.
Explain how a pointer to function can be declared in C++?
What do you understand by zombie objects in c++?
What is meant by iomanip in c++?
What does asterisk mean in c++?
How does atoi function work?
Is c++ a difficult language?
What is searching?
Differentiate between an external iterator and an internal iterator?
What are keywords in c++?
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
Describe about storage allocation and scope of global, extern, static, local and register variables?
What is the c++ programming language used for?