View Single Post
  #2 (permalink)  
Old 12-15-2007, 07:24 PM
staykovmarin staykovmarin is offline
Senior Member
 
Join Date: Nov 2007
Location: Newport, WA
Posts: 141
staykovmarin is on a distinguished road
Code:
Reader r = new Reader(); r.getString();
Thats in your test01 file of course. Thats called creating an instance of a class.

edit:
I misread your code, i didnt notice that getString was static:
Code:
Reader.getString();
However that wont work, since the line:
Code:
private static BufferedReader stdin = new BufferedReader( new InputStreamReader( System.in ) );
will never be executed, stdin is going to be null.
Reply With Quote