Implementing association classes in Java
Hi. I'm having trouble in implementing an association class.
I have two classes, Customer and Address.
A customer might have different billing address and shipping address.
I found from a book that In this kind of situations, Customer class and Address class should be linked with an association class "Type" that has the attribute "addresstype". My problem is that I dont know how to inplement this kind of association classes in Java. Could anyone please show me some example of implementing an association class.
thanks.

