what is data Abstraction? and give example
Answer Posted / raghul
IT IS A PROCESS OF SEPARATING ESSENTIAL AND NON-ESSENTIAL INFORMATION ABOUT A CLASS OR OBJECT.
A CLASS OR OBJECT MAY HAVE NUMBER OF INFORMATION ASSOCIATED WITH IT.
FOR DIFFERENT USERS DIFFERENT SET OF INFORMATION
EXAMPLE:- #INCLUDE <IOSTREAM>
USING NAMESPACE STD
INT MAIN()
{
COUT<<"HELLO C++"<<END1;
RETURN 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When is dynamic checking necessary?
Explain the benefits of proper inheritance.
Why is it necessary to use a reference in the argument to the copy constructor?
What is runtime polymorphism in c++?
What are the advantages of pointers?
Explain terminate() and unexpected() function?
Explain class invariant.
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
Explain one method to process an entire string as one unit?
What is a manipulator in c++?
What is a stack c++?
What is a flag in c++?
What is ctime c++?
Is map sorted c++?
How delete [] is different from delete?