what is data Abstraction? and give example
Answer Posted / vijay
Data Abstration is the simplified representaion of a Concept C,if a class 'A' derives this concept C must implement all things present in the concept,else class A does not makes sense.
Eg. RGB - Red,Green,Blue (Data Abstraction)
Any color is a combination of RGB.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is searching? Explain linear and binary search.
Explain the concept of friend function in c++?
write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
Explain one method to process an entire string as one unit?
What is c++ mutable?
What are the various compound assignment operators in c++?
Why pointer is used in c++?
How can an improvement in the quality of software be done by try/catch/throw?
Describe protected access specifiers?
What is implicit pointer in c++?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
How can you tell what shell you are running on unix system?
What is a .h file c++?
What is function overloading c++?