title: cannot find symbol: parseInt
body: <p>I have allready compiled a few tiny programms in java and everything was fine. But my new code has any problem.</p>
  
  <pre><code>class myclass
  {
   public static void main (String[] args)
   {
    int x, y;
    String s ="sssss";
    x=args.length;
    s= args[0].substring(1,2);
    System.out.println("Num of args: "+x);
    System.out.println("List of args:");
    y = parseInt(s,5);
    }
  }
  </code></pre>
  
  <p>The compiler says:</p>
  
  <pre><code> e:\java\4&gt;javac myclass.java 
    myclass.java:11: error: cannot find symbol   
     y = parseInt(s,5);
         ^   symbol:   method parseInt(String,int)   location: class myclass 1 error
  
   e:\java\4&gt;
  </code></pre>
  
  <p>The strange thing is that the compiler jumps over the method substring (as there is no problem) but the method parseInt seems to have any problem.
  y = parseInt(s); OR: y = parseInt("Hello"); --> Also the same compiler message.</p>
  
  <p>Or does the method not exist? <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Integer.html" rel="nofollow">docs.oracle-->Integer</a> says it exists :)</p>
  
  <p>It makes my really crazy <strong>as i don't know how to search for the error</strong>. I have checked the internet allready, i checked the classpath and the path...</p>
  
  <p>So it would be great if any expert could help me. :)</p>