what is data Abstraction? and give example
Answer Posted / santosh kumar
Abstraction is one of the most powerful and vital features provided by object-oriented programming language. Modularity is very important in any programming language, it provides flexibility to users for using the programming language. This aspect is well achieved with high performance by the concept of abstraction. In object-oriented programming language the programmer can abstract both data and code when needed.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate between realloc() and free().
How do I run a program in notepad ++?
Should I learn c or c++ or c#?
What do you mean by function and operator overloading in c++?
What do c++ programmers do?
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 c++ good for?
Why do we use constructor?
What are stacks?
What is the difference between public and private data members?
Is swift better than c++?
How would you use the functions memcpy(), memset(), memmove()?
When are exception objects created?
Define namespace in c++?
What are disadvantages of pointers?