title: Java Print the integers at the even indexes of the passed in array
body: <pre><code>public class Exercise2
  {
      public static void printEvenIndex(ArrayList list)
      {
          //Print the integers at the even indexes of the passed in array
  
      }
  
      public static void main(String[] args)
      {
          //instantiate an ArrayList named values nand fill with Integers
          //fromt the supplied list
          ArrayList&lt;Integer&gt; values = new ArrayList&lt;Integer&gt;();
          int[] nums = {1, 5, 7, 9, -2, 3, 2};
  
          System.out.println("Expected Result:\t 1, 7, -2, 2,");
          System.out.print("Your Result:\t\t ");
          printEvenIndex(values);
      }
  }
  </code></pre>
  
  <p>Im a little confused on what to do when it tell me to Print the integers at the even indexes of the passed in array. </p>