Discussion in 'Object Oriented Concepts' started by parulmahajan, Jun 10, 2010.
What is Composition?
difference between composition and aggregation in Java??
Aggregation is a kind of association that specifies a whole/part relationship between the aggregate (whole) and component part.
Agregation is having two classes to know about each other is called Aggregation
ggregation implies a accord area the adolescent can abide apart of the parent. Example: Class (parent) and Student (child). ... Composition implies a accord area the adolescent cannot abide absolute of the parent.
Separate names with a comma.