Question: I have created the Entity class but I need help adjusting my Game, Player, and Team classes. Specifically I don't know what else I need
I have created the Entity class but I need help adjusting my Game, Player, and Team classes. Specifically I don't know what else I need to do for these last three bullets:
Refactor the Game class to inherit from this new Entity class.
Complete the code for the Player and Team classes. Each class must derive from the Entity class, as demonstrated in the UML diagram.
Every team and player must have a unique name by searching for the supplied name prior to adding the new instance. Use the iterator pattern in the addTeam and addPlayer methods.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
