title: Error: cannot find Integer symbol when doing parseInt
body: <p>I have been looking for the answer to this problem for a good while now since it seems most of the times its something simple. I am trying to read line by line of a file and on some instances convert the string into a number. When i write my code the <code>Interger.parseInt</code> simply doesnt work. I have tried everything from changing the scope of the varaible to leaving it as a string then converting after finishing the loop but it simply says <code>Interger</code> in <code>Interger.parseInt</code> cannot be found.</p>
  
  <pre><code>package inputout;
  import java.io.*;
  import java.util.*;
  import static java.lang.Integer.parseInt;
  
  public class readfilebuffer {
  
      private String Resname;
      private int numberTables;
      private int[] maxpertable;
      private int[] sbm;
      private String[] line4;
  
      public void readFile1(File fin) throws FileNotFoundException {
          int count = 0;
          try {
              FileReader fileReader = new FileReader(fin);
              BufferedReader bufferedReader = new BufferedReader(fileReader);
              String line;
              while ((line = bufferedReader.readLine()) != null) {
                  if(count==0 )
                  Resname = line;
                  if(count==1)
                      numberTables = Interger.parseInt(line);//Interger here "cannot be found"
              }
              fileReader.close();
              System.out.println(numberTables);
          } catch (IOException e) {
               e.printStackTrace();
          }
      }
  }
  </code></pre>
  
  <p>and at <code>count==1</code> i have this line being read in <code>4</code> and when i print the value in <code>numberTablles</code> is 0.</p>