Java Association and Aggregation

Associate
Joined
4 Mar 2007
Posts
315
Location
United Kingdom
Hey,

was just wondering if anyone could lend a hand in what the main difference is,
I got a btec project to explain this although I can't seem to find any relavant resources on these two subjects.
All I need to know is an example of it in Java I mean so far I get the ideas that Association is setting up a so called path in which data can be sent from two classes where no "parent" can really be defined, where as aggregation is like saying you have a relationship amongst many values?

It seems like one of those subjects in Java which have little to no info on, or I could be just searching badly xD

anyway all help is appreciated =)

Peace
 
I'm rather rusty myself but if you're having trouble searching, I'd have a look at it in relation to UML perhaps which can be a nice way of displaying things.

Linky
 
Back
Top Bottom