title: Comparing two different arrayList
body: <p>this is my first time using stackFlow, and i need help
      i am kind of new to programming.
      i have a method that i created which asks the points made and the points lost for each game a team plays. i want someone to explain what i need to do, thats all, or if its not possible this way
      I want to store the name of the teams in an arrayList. </p>
  
  <p>how do i get it to ask, What is Arsenal pointsMade, What is Arsenal pointsLost, and What it liverpool pointsMade and pointsLost? please, if you dont understand my question, let me know so i can rephrase it better. Thanks.</p>
  
  <pre><code>public class projectscore
  {
    public int pointsMade;
    public int pointsLost;
    public projectscore(int pointsM, int pointsL)
    {
     pointsMade = pointsM;`enter code here`
     pointsLost = pointsL;
    }
  
    public void setpointsMade(int pointsM)
    {
      pointsMade = pointsM;
  
    }
    public void setpointsLost(int pointsL)
    {
  
      pointsLost = pointsL;
  
    }
    public int getpointsMade()
    {
      return pointsMade;
  
    }
    public int getpointsLost()
    {
  
      return pointsLost;
  
    }
    public void getfinalScore()
    {
  
     System.out.println(pointsMade);
     System.out.println(pointsLost);
    }
  }
  
  import java.util.*;
  public class fProjectScore
  {
    public static void main(String[] args)
    {
      projectscore pscore = new projectscore(0, 0);
      Scanner in = new Scanner(System.in);
  
  
      System.out.println("what is the points made today ");
      Integer temp = in.nextInt();
      System.out.println("what is the points lost today ");
      Integer temp2 = in.nextInt();
  
  
      pscore.setpointsMade(temp);
      pscore.setpointsLost(temp2);
  
   /*   HashMap&lt;Integer, Integer&gt; map = new HashMap&lt;Integer, Integer&gt;();
      map.put(temp, temp2);
     */ 
      if(temp &gt; temp2)
      {
        System.out.println("winner"); 
      }
      else  if(temp &lt; temp2)
      {
        System.out.println("losser"); 
      }
      else  if(temp == temp2)
      {
        System.out.println("Tie Game"); 
      }
  }
  }
  
  i want to add this to my main method 
   ArrayList&lt;String&gt;participants = new ArrayList&lt;String&gt;();
  participants.add("Arsenal");
  participants.add("Liverpool);
  
  how do i get it to ask, What is Arsenal pointsMade, What is Arsenal pointsLost, and What it liverpool pointsMade and pointsLost? please, if you dont understand my question, let me know so i can rephrase it better. Thanks.
  </code></pre>