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 is the use of destructive method?

0 Answers   Tech Mahindra,


Can you call the base class method without creating an instance?

0 Answers  


What is the difference between new and override?

0 Answers  


What is the use of finalize method?

0 Answers  


What are all the operators that cannot be overloaded?

0 Answers  


What is inheritance in java?

2 Answers  


Can a class implement two interfaces having default method with same name and signature?

0 Answers  


Why dynamic loading is used in object-oriented programming?

0 Answers  


What if we override the conflicting method in the class?

0 Answers  


What is an USECASE? Why it is needed?

8 Answers  


What do you mean by data hiding?

0 Answers   Tavant Technologies, Virtusa,


How to use CRC Cards for Class Design?

2 Answers   Protech,


Categories