• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doub between simple class association and composition.

 
Eusebio Floriano
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What�s the difference between implementation of simple class association and composition ?
Both implementations will result in a class be an atribute of the another class ("HAS-A" behavior). Or am I wrong ?

Regards,
 
Mahesh Kumaraguru
Ranch Hand
Posts: 109
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic