VUsolutions Transferred to AchiKhasi.com

From December 2011, this blog www.VUsolutions.blogspot.com is transferred to http://achikhasi.com/vu/ . So, you may visit http://achikhasi.com/vu/ for latest study related help.

Back to home VUsolutions

VUsolutions Fans Club [join us for MORE solutions]

VUsolutions on Facebook

OOP Assignment Solution

Thursday, April 09, 2009 Posted In Edit This
Association is a relationship where all object have their own lifecycle and there is no owner. Let’s take an example of Teacher and Student. Multiple students can associate with single teacher and single student can associate with multiple teachers but there is no ownership between the objects and both have their own lifecycle
Aggregation : It indicates a “whole/part” relationship.
For example a department of the faculty has instructors.
Parts ( instructors ) can still exist even if the whole ( the department ) does not exist.

Composition : Composition is a strong kind of aggregation where the parts cannot exist independently of the “whole” object.
For example “ A human has head ”

Here head cannot be as a single part. Hence it is said to be a composition.
The relations among them are given as,



Back to home VUsolutions

Shaadi.com: Just create ur account & find ur partner or EARN money, its reall & EASY

VUsolutions Followers (Join NOW and Get Extra Benefits)

Install LATEST toolbar having lot of features - GET solutions on Desktop

toolbar powered by Conduit
Caliplus 300x250 NoFlam VitoLiv 468x60 GlucoLo