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

What is abstraction with example?

1040


What is the difference between abstraction and polymorphism?

1048


How do you use inheritance in unity?

1025


What is polymorphism what is it for and how is it used?

971


How to use CMutex, CSemaphore in VC++ MFC

4737


What is the difference between encapsulation and polymorphism?

1047


when to use 'mutable' keyword and when to use 'const cast' in c++

2110


What are the benefits of interface?

993


Which type does string inherit from?

1061


What is inheritance and how many types of inheritance?

1041


What is methods in oop?

925


Why is object oriented programming so hard?

1025


Prepare me a program for the animation of train

2412


What are the 4 main oop principles?

1162


What is the purpose of enum?

965