title: Type mismatch: cannot convert from int to int[]
body: <p>A question I cannot seem to solve specifically for this line. I have searched for it. 
  The assignment is to implement an application a baseball players Shirt number, batting average and number of walks. Must use a 2-D array of 20 columns and 3 rows. 
  I am working on setting up lines to make the random numbers for the player's Number of times at bat as well as results. Yet I get a error of unable to convert from int to int[].
  I have read several other questions with the same problem and none seem to help me. I can be not understanding them but still I am unable to solve the Issue. 
  Thank you,
  D</p>
  
  <pre><code>import java.util.Random;
  
  public class Stats
  
  public static void main(String[] args) 
  {
  
      int[][] array = { { 1, 2, 3 },
                        { 4, 5, 6 },
                        { 7, 8, 9 }, 
                        { 10, 11, 12 },
                        { 13, 14, 15 },
                        { 16, 17, 18 },
                        { 19, 20, 21 },
                        { 22, 23, 24 },
                        { 25, 26, 27 },
                        { 28, 29, 30 },
                        { 31, 32, 33 }, 
                        { 34, 35, 36 }, 
                        { 37, 38, 39 },
                        { 40, 41, 42 },
                        { 43, 44, 45 },
                        { 46, 47, 48 },
                        { 49, 50, 51 },
                        { 52, 53, 54 },
                        { 55, 56, 57 },
                        { 58, 59, 60 } };
  
      Random randomNumbers = new Random();
  
      for (int row = 0; row &lt; array.length; row++ )
       {
  
           for (int column = 0; column &lt; array[ row ].length; column++ )
           {
               int counter = 0;
  
               array[ counter ] = randomNumbers.nextInt() //Error here
  
               System.out.print( counter + "\t " + array[ counter ] + "\t");
  
               counter++;
           }
  
           System.out.println(" ");
       }
  
  }
  }
  </code></pre>