what is data Abstraction? and give example
Answer Posted / sunny verma
abstraction means act of represeting essential features
without including background detail and explanation.
The classes uses the concept of data abstraction called
Abstract data Type(ADT)
Clases defines the list of abstract attribute may be
size,weight,cost and function to operate on these
attributes.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
Explain the volatile and mutable keywords.
What are static variables?
What is the arrow operator in c++?
What are all predefined data types in c++?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What is atoi?
What is enum class in c++?
Why is "using namespace std;" considered bad practice?
What does namespace mean in c++?
What is singleton pattern in c++?
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.
Why do we use vector in c++?
What is virtual function? Explain with an example
What is the difference between global int and static int declaration?