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 virtual?

1178


What do you mean by operator overloading?

1114


Describe inheritance and non-inheritance of a derived class?

948


What are the various types of constructors?

1036


What is the use of destructive method?

961


If a method definition has been specified in the 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?

974


Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?

1045


What are the interfaces you used in beans?

1023


Explain about a class in oop?

975


What is the order of call of constructors in inheritiance?

1022


What do you mean by data hiding?

1123


Why dynamic binding is used in object-oriented programming?

1097


Explain basic concepts of OOPS?

916


What is constructor and virtual function? Can we call virtual funciton in a constructor?

1013


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

941