what is data Abstraction? and give example
Answer Posted / kamal lochan jena.
It is process of creating a new data_type using encapsulated
items.
Ex: class Name
{
int age;
char Name[20];
public:
getdata();
putdata();
};
Here the class body contains the encapsuleted data items.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of endl in c++ give an example?
What is meant by const_cast?
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
What are the benefits of operator overloading?
When there is a global variable and local variable with the same name, how will you access the global variable?
What are the unique features of C++.
How do you decide which integer type to use?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What is vector pair in c++?
Which is better turbo c++ or dev c++?
What is auto type c++?
Does c++ cost money?
What do you mean by late binding?
What is a sequence in c++?