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...


When do you prefer to use composition than aggregation?



When do you prefer to use composition than aggregation?..

Answer / naveen sisupalan

Composition is a stronger form of aggregation. If you are
sure that the life of the part is managed entirely by the
whole then you can go for composition. Without whole, the
part can't exist also.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More OOAD Interview Questions

what are the different ways for a method to be overloaded?

0 Answers  


Explain static binding

0 Answers  


Explain about inheritance hierarchies?

0 Answers  


Why do we use oops concepts? What is its advantage?

0 Answers  


How to differentiate between a CreateObject() and GetObject() ?

0 Answers   CGI,


State some of the advantages of object oriented programming?

0 Answers  


What is the use of interface?

0 Answers  


what is virtual function and pure virtual function ?

0 Answers   Infosys,


How do we implement serialization actually?

0 Answers  


USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?

2 Answers  


What is the difference between aggregation and composition?

0 Answers  


Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?

0 Answers  


Categories