what is data Abstraction? and give example
Answer Posted / ramya
Abstraction is of the process of hiding unwanted details from the user.
For example, your program can make a call to the sort() function without knowing what algorithm the function actually uses to sort the given values.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
If a header file is included twice by mistake in the program, will it give any error?
To which numbering system can the binary number 1101100100111100 be easily converted to?
What is object oriented programming (oop)?
What is the full form of c++?
Can c++ be faster than c?
What is array give example?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
Explain object slicing in c++?
What is overloading unary operator?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What is c++ and its features?
What is data types c++?
Where must the declaration of a friend function appear?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
Can java be faster than c++?