Move a player to another team, with players stored in one arraylist and teams in another using java
- by user1056758
Basically I have a team class, which has an array list that store the players in. In the driver class theres an arraylist that stores the teams.
Anyhow I've worked out how to add a player to a specific team and like wise remove a player from said team. Where I'm hitting problems is when I try to transfer one player to another.
My understanding is…