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
What are the advantages of using friend classes?
Write about the stack unwinding?
What's the most powerful programming language?
Is recursion allowed in inline functions?
What is the use of function pointer?
Will rust take over c++?
an integer constant must have atleast one a) character b) digit c) decimal point
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
What are the differences between the function prototype and the function defi-nition?
What are c++ stream classes?
What new()is different from malloc()?
Which bit wise operator is suitable for turning off a particular bit in a number?
Does c++ have string data type?
Which operator cannot overload?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required