View Single Post
Old 07-08-2003, 11:16 AM   #4 (permalink)
Kportertx
Registered User
 
Join Date: Apr 2003
Posts: 11
Kportertx is on a distinguished road
thx for replys

The first reply answered my question.

I dont think you can cast a string to an int, I tried and failed at that.

The syntax for the buffered reader is:
import java.io.*;

public class AClass
{

public static void main (String[] args) throws IOException
{
BufferedReader jin = new BufferedReader(new InputStreamReader(System.in));
Kportertx is offline   Reply With Quote