Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the need of abstraction? what is abstraction?what
is the abstraction for stack?

Answer Posted / mms zubeir

As I answered one of the questions here, the abstraction is
nothing but declaration of a concept in software terms
which does not exist in real-world.

For example, mango, drumstick, brinjal, potato are all
vegetables. But "Vegetable" is just a concept and it has no
real-world existance.

To represent these kind of concept in software terms, we
need abstration.

On the other hand, the mango, brinjal, ... are all have
concrete implementations since they have certain properties
and can do some operations on them in the real world.

I couldn't get the third question "abstraction for stack",
but I try to answer with what I understood.

Normally, stack's operations include push, pop, top, size,
empty e.t.c. If we define an interface with these, it ll be
an abstraction for stack. Let me know if it doesn't answer
your question.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use oop?

1059


write a program that takes input in digits and display the result in words from 1 to 1000

2385


Get me an image implementation program.

1949


Can we create object of abstract class?

1049


What is static modifier?

1157


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4851


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2275


class type to basic type conversion

2353


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3448


What is a class in oop?

1073


What is the purpose of enum?

978


What is the real time example of inheritance?

1097


Can you inherit a private class?

1075


what type of questions

2077


any one please tell me the purpose of operator overloading

2360