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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Classes and Objects?

991


What is single and multiple inheritance?

966


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

979


Differentiate between overloading and overriding.

1069


Can an interface implement or extend another interface?

962


Can we override static methods? Why?

907


How can I be thrown polymorphically?

946


Can an interface have an inner class?

1001


What is sealed modifiers?

980


Explain static binding

971


What are all the operators that cannot be overloaded?

933


Can we override static methods of a class?

993


What are the methods required to create changes in subclasses?

965


What is the difference between multiple and multilevel inheritance?

982


What is the practical implementation of inner classes?

930