what is data Abstraction? and give example
Answer Posted / shiva
data abstraction is hidding of unwanted data.
example: car
for driver only steering, gears, breaks are visible and engine is not visible so hidding engine for driver is unwanted.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Const char *p , char const *p What is the difference between the above two?
Is sorted c++?
What are c++ manipulators?
Explain queue. How it can be implemented?
What are the uses of typedef in a program?
Can a new be used in place of old mallocq? If yes, why?
What is boyce codd normal form in c++?
What is problem with overriding functions?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Write a program to find the Factorial of a number
How many types of modularization are there in c++?
Write about the scope resolution operator?
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.
Differentiate between a pointer and a reference with respect to c++.
How do you define/declare constants in c++?