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 difference between new and override?

0 Answers  


What is the abstract method modifier?

0 Answers  


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

0 Answers  


Tell me something about abstract classes?

0 Answers   TCS,


What does the “abstract” keyword mean in front of a method? A class?

0 Answers  


Explain about the design phase?

0 Answers  


If a method definition has been specified in class , its base class , and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

0 Answers  


Difference between class and an object?

0 Answers  


Give any criteria when you use an abstract class and an interface?

0 Answers   Sans Pareil IT Services,


What is data encapsulation and what is its significance?

0 Answers  


What if we make the method as abstract in another interface?

0 Answers  


What is the benefit of Composition over Inheritance?

0 Answers  


Categories