This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
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: 2853
    
  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
 
Don't get me started about those stupid light bulbs.
 
subject: cannot find symbol