• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the relationship between these classes A & B?  RSS feed

 
malaya nayak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1>
2>

3>
4>

i am unable to be sure about whether the classes are in association or aggregation or composition or dependancy only..
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
malaya nayak wrote:3>


listA.add(new s);
 
Sha Jar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
malaya nayak wrote:
i am unable to be sure about whether the classes are in association or aggregation or composition or dependancy only..


Post the definitions of those words here. Then consider each example and suggest which you consider to be closest to each definition.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!