File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes cannot find symbol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "cannot find symbol" Watch "cannot find symbol" New topic

cannot find symbol

sam shik

Joined: Jul 17, 2011
Posts: 3
D:\jp>javac cannot find symbol
symbol : method ParseInt(java.lang.String)
location: class java.lang.Integer
int a=Integer.ParseInt(in.readLine());

where might be the error? me
Thanks in advance
Greg Charles

Joined: Oct 01, 2001
Posts: 2968

Welcome to Java Ranch!

parseInt() has to be written with a small p. In Java case does matter, but don't worry. You'll get used to it!
sam shik

Joined: Jul 17, 2011
Posts: 3
I got the output .Thanks greg
I agree. Here's the link:
subject: cannot find symbol
It's not a secret anymore!