wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "cannot find symbol" Watch "cannot find symbol" New topic
Author

cannot find symbol

sam shik
Greenhorn

Joined: Jul 17, 2011
Posts: 3
D:\jp>javac Age.java
Age.java:9: 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?
Pl.guide me
Thanks in advance
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2840
    
  11

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
Greenhorn

Joined: Jul 17, 2011
Posts: 3
I got the output .Thanks greg
 
jQuery in Action, 2nd edition
 
subject: cannot find symbol
 
Similar Threads
can't figure it out
Implementation of SLR parser
cannot find symbol
classpath Ques
Would someone be so kinds as to....