Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot find symbol

 
sam shik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2984
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the output .Thanks greg
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic