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.*;
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
posted
0
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: 32644
4
posted
0
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.