MODELING: AGGREGATION AND COMPOSITION

 

When you are modeling any software, these two (aggregation and composition) relationships occur  very often. I have posed this question to candidates during the interviews, to my surprise, the difference between hollow and solid diamond in UML is not well understood. I thought, I will explain that using a nice picture.

 

aggr and comp

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: