Search This Blog

Wednesday, January 31, 2007

UML Interview Questions

What is ageeregation & Composistion ?

Aggregation ---It means for example one Colleage is build up of Depatments and again departements contains classes right here school is aggregation of departements and again departement is aggregation of classes,here u can perfect aggregation of things if u delete the main object called school all associated departements and classes will get delete.

Compostion--It means how objects are composed of means in other words it is tightly bound aggregation here even u will not have access to delete child objects which are nested in parent objects.

No comments: