I am new to designing to application As part of interest i am trying to design application in that i have multiple cricket teams belongings to different pools eg. POOL 1 has TEAM A and TEAM B and POOL 2 has TEAM X and TEAM Y.
So, while designing i came across the question that what would be the relations between POOL CLASS and TEAM CLASS. Inheritance or Aggregation. I tried with inheritance but i cant find any common properties between POOL AND TEAM CLASS. Each Teams has list of players. What should be my approach to this problem?
Aucun commentaire:
Enregistrer un commentaire