This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 37884
    
  22
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: please help with a little information...
 
Similar Threads
BigInteger Power/Exponent BigInteger
Need help with Big Integer
how to calculate the N to the power of N
BigInteger and multiplying
a little BigInteger problem