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

Difference between class and an object?

940


What are the features of encapsulation ?

962


Why do we separate interface from implementation?

974


Explain about object oriented databases?

989


What is data abstraction? what are the three levels of data abstraction with Example?

943


What are the major differences between late and dynamic binding?

949


What is Abstract method and how different from Virtual Method?

890


How to make a class accessible as a web service?

920


What is meant by function overloading and function overriding?

950


What is the difference between abstract & interface?

1028


Can you use virtual, override or abstract keywords on an accessor of a static property?

960


Explain about Overloading vs Overriding ?

950


Explain about instance in object oriented programming?

1023


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

980


Explain what is object oriented programming language?

983