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

Difference between Composition and Aggregation

Answer Posted / benjamin jacob


Composition : Defines a strong-coupled relationship between
two entities, where the one entity is part of another, and
both need each other for their existence. e.g. Human body
and the Heart.

Aggregation : Defines a weak-coupled relationship between
two entities, where one entity could be part of another, but
either can exist without the other, independantly. e.g.
School and teacher.

Is This Answer Correct ?    85 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of ‘finalize’?

1074


What is the diffrence between an abstract class and interface?

1118


Differences between functional programming and object-oriented programming?

1104


What is meant by function overloading and function overriding?

1039


What is polymorphism? When is it employed? give an example.

1075


What is meant by overloading functions and operators?

1126


What is difference between encapsulation and abstraction?

1050


Explain about uml?

1018


What are Classes and Objects?

1083


Do structs support inheritance?

1010


Can we override a method by using same method name and arguments but different return types?

999


What is the function of pure virtual functions?

962


Which keyword can be used for overloading?

1036


What do you mean by abstract class?

1115


Explain the term constructor

1098