File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes please help with a little information... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "please help with a little information..." Watch "please help with a little information..." New topic
Author

please help with a little information...

Ed Stevens
Ranch Hand

Joined: May 06, 2008
Posts: 38
i am getting this error
: can not find symbol
symbol: method readint()
for the line--int len = Console.readint();
& symbol: method readString()
for-- BigInteger big = new BigInteger(Console.readString());
even though i have included -import java.io.*;

Please suggest me what to do:



<a href="http://foureyedmonsters.com/neutrality/" target="_blank" rel="nofollow">http://foureyedmonsters.com/neutrality/</a><br /><a href="http://www.netcharles.com/orwell/ctc/" target="_blank" rel="nofollow">http://www.netcharles.com/orwell/ctc/</a>
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Have you checked the API documentation for Console? Does Console have these methods?


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Ed Stevens
Ranch Hand

Joined: May 06, 2008
Posts: 38
sorry for delay: i apologize ,i have checked it is readline() not readstring() & readint is not mentioned there either....making amends..
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38519
    
  23
Originally posted by Ed Stevens:
sorry for delay: i apologize ,i have checked it is readline() not readstring() & readint is not mentioned there either....making amends..
Not quite: it's readLine etc. Java is case-sensitive, and you can get no end of confusion with tiny spelling errors like that in real code. Also, please read this FAQ.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: please help with a little information...