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 / paul howard

Composition can be used to model by-value aggregation which
is semantically equivalent to an attribute. In fact
composition was originally called aggregation-by-value in an
earlier UML draft with “normal” aggregation being thought of
as aggregation-by-reference. The definitions have changed
slightly but the general ideas still apply. The distinction
between aggregation and composition is more of a design
concept and is not usually relevant during analysis.

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a constructor in class?

1026


What is the difference between an interface and abstract class?

1054


Explain about multiple inheritance?

1002


Why is message passing between the objects important?

936


What is difference between polymorphism and normalization?

1990


Difference between abstraction and implementation hiding ?

1041


Which OOPS concept exposes only the necessary information to the calling functions?

1250


Describe inheritance and non-inheritance of a derived class?

876


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

927


What is the use if instanceof keyword?

1094


Define Initialisation Purpose.

950


Is it possible to create partial structs, interfaces and methods?

891


What is overriding?

979


Explain the different types of constructors

879


Explain what is meant by polymorphism?

1004