For some reason javac can't compile Integer.parseInt(). I tried several programs that have parseInt in them and they don't work so I wrote up a simple little program to test whether the problem is parseInt or something else in the programs. Here's the test program I wrote:
public class Test
{
public static void main(String[] args)
{
int a = Integer.parseInt(args[0]);
System.out.println(a);
}
}
Even with the program above, I still got a compiler error saying: "error: cannot find symbol a = Integer.parseInt();" with an arrow point to the . between Interger and parse. I've tried running the program with Double.parseDouble() and it works just fine. Any ideas as to why I'm getting this error?