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


Please Help Members By Posting Answers For Below Questions

Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3694


Explain the volatile and mutable keywords.

614


What are static variables?

615


What is the arrow operator in c++?

556


What are all predefined data types in c++?

554






What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

693


What is atoi?

538


What is enum class in c++?

704


Why is "using namespace std;" considered bad practice?

647


What does namespace mean in c++?

550


What is singleton pattern in c++?

544


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.

1740


Why do we use vector in c++?

598


What is virtual function? Explain with an example

583


What is the difference between global int and static int declaration?

403