what is data Abstraction? and give example
Answer Posted / swetha
abstraction refers to the act of representing essential
features without including the background details or
explanations.
for example: you are driving a car. you only know the
essential features to drive a car e.g.,gear handling,use of
clutch,accelerator etc.but while driving do you get into
internal details of car like wiring,motor wiring,etc.you
just change the gears or apply the brakes etc.what is
happening inside is hidden from you. this is abstraction
where you only know the essential things to drive a car
without including the background details or explanations.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
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.
What is a class template?
What is a dangling pointer in c++?
Is it possible to have a recursive inline function in c++?
What is the difference between object-oriented programming and procedural programming?
Explain rethrowing exceptions with an example?
What are the steps in the development cycle?
What is the function to call to turn an ascii string into a long?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What is c++ flowchart?
Which is better turbo c++ or dev c++?
Can user-defined object be declared as static data member of another class?
What is a breakpoint?
Explain how we implement exception handling in c++?
How are virtual functions implemented in c++?