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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / achal ubbott

Abstraction literally means hiding. Now in OOP the
intention is to hide the complexity. For this reason
generally the data in classes is protected. THis data is
accessible to the functions(some times called behaviour).
OK! now for a user creating an application, it is easier to
use functions using the objects of class rather than
manipulating the data itself. This is how abstraction
works. Abstraction is a conceptual theory or a way of doing
things, not a must.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / xxx

to abstract require set of data & hiding there abstraction details from outside enviroment

Is This Answer Correct ?    1 Yes 0 No

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

Answer / chandrakala

plz give me the correct answer

Is This Answer Correct ?    1 Yes 1 No

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

Answer / rama

Abstraction refers to the act of representing essential features without including the background details or explanation. Classes use the concept of abstraction and are defined as a list of abstract attributes such as size,weight,and cost, and function to operate on these attributes.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / vara prasad

Abstraction is nothing but the hierarchical clasification
of complex system. that is abstraction is a process to
break the complex system in to small manageble parts.

It is use full in coding.

Is This Answer Correct ?    0 Yes 2 No

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

Answer / ranjit

for the user simplicity .with knowing the internal
details we can use the pakages.in the oops interfaces are
created .with knowing the internal procedure we can use the
interface.
in the large projects in the organization .the team
lader gives the interfaces to the project members they can
impliment that interfaces packages .

ex:-all packages in windows like summation in word pad.

the machanism in stack is "first in last out".
the processes which comes first that will be exicuted last.

Is This Answer Correct ?    0 Yes 5 No

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

Answer / vara prasad

Abstraction is nothing but binding the code and data
together to protect the code and data from out side world.

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More OOPS Interview Questions

What is difference between pop and oop?

0 Answers  


Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation

0 Answers   TCS,


define oops concept with example

1 Answers   Cap Gemini,


Is oop better than procedural?

0 Answers  


What is the advantage of oop over procedural language?

0 Answers  


Difference between over loading and over ridding?

12 Answers   CTS, Patni, Softvision Solution,


Can we have a private constructor ?

12 Answers   HSBC, Ness Technologies, TCS, Wipro,


What is stream in oop?

0 Answers  


What do you mean by variable?

0 Answers  


what is the advantage in software? what is the difference between the software developer and Engineer

1 Answers  


what is the use of classes in c++;

2 Answers   HCL,


What is deep and shalow copy?

3 Answers   L&T, TCS,


Categories