|
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));
|