title: The type ArrayList is not generic; it cannot be parameterized with arguments <Integer>
body: <p>I am trying to complete a JCF array list, and it compiled just fine 30 minutes ago, but now I am receiving the error "The type ArrayList is not generic; it cannot be parameterized with arguments ". I have tried a few things to figure it out, but I am at a loss. Here is the code:</p>
  
  <pre><code>import java.util.*;
  
  /**
   * Class to test the java.util.ArrayList class.
   */
  public class Main
  {
  
      public static void main(String[] args)
      {
          Main myAppl = new Main();
  
      }
  
      public Main()
      {
          ArrayList&lt;Integer&gt; numbers = new ArrayList&lt;Integer&gt;();
  
          //list creation
          for (int i = 0; i &lt; 10; i++)
              numbers.add((int) (Math.random() * 100));
  
          System.out.println("List of numbers:");
          System.out.println(numbers);
  
          Scanner in = new Scanner(System.in);
          System.out.print("Please, enter an int value: ");
          int x = in.nextInt();
  
          if (numbers.contains(x))
              System.out.println("Found!");
          else
              System.out.println("Not found!");
      }
  }
  </code></pre>