title: Arrays between classes?
body: <p>Main Class;</p>
  
  <pre><code>package finalapp;
  import java.util.Scanner;
  
  /**
   *
   * @author bassammetwally
   */
  public class FinalApp {
  
      /**
       * @param args the command line arguments
       */
      public static void main(String[] args) {
          // TODO code application logic here
          Scanner input = new Scanner(System.in);
          Team tem = new Team();
          Tournament tour = new Tournament();
          System.out.print("Whats the tournament name?\n");
          tour.setTourName(input.next());
          System.out.print("Please enter the tournamen date\n");
          tour.setTourDate(input.next());
          System.out.print("Please enter the location\n");
          tour.setLocation(input.next());
          System.out.print("Please enter number of Software Stations\n");
          tour.setAvaliableHardwareIns(input.nextInt());
          System.out.print("Please enter number of Hardware Stations\n");
          tour.setAvaliableHardwareIns(input.nextInt());
          System.out.print("Please enter number of field testing");
          tour.setAvaliableFieldTesting(input.nextInt());
          System.out.print("Please enter max number of teams\n");
          tour.setMaxNumberOfTeams(input.nextInt());
          tour.tourStatSet(1);
  
          while (true)
          {
              int choice;
              choice = input.nextInt();
              if (choice == 1)
              {
                  System.out.printf("Enter Team %s Names\n",tour.getMaxNumberOfTeams());
                  for (int i = 0; i &gt;= tour.getMaxNumberOfTeams();i++)
                  {
                      System.out.print("Please Enter Team Name");
                      tour.addingTeam(input.next());
                      tem.teamStats(1);
                      tem.teamJudgeStat(1);
                      Have a PREPARING team turn the robot on 
                      (set the robot status to READY) to prepare for inspections        
                  }
              }
              else if ( choice == 2)
              {
                 System.out.print("Sending prepareing teams");
                 //for (int a = 0; a &gt;= tour.getTeamsChecked(); a++)
                 {
  
                 }
  
              }
      }
  
  
  }
  </code></pre>
  
  <p>Question:</p>
  
  <p>I'm making a robot contest simulation, and I'm trying to get the main class to:</p>
  
  <ul>
  <li>Add teams, which I already did</li>
  <li>Change status of each team in the array</li>
  </ul>
  
  <p>But my main idea was to go through the <code>ArrayList</code> and change the variables in the other classes, but I couldn't figure out how to do it.</p>
  
  <p>Is there any easier way to do this?</p>