hi to all i am new to java and i am doing homework
i must compile this but there is an error and i cant find were
can you help me please
i am using BlueJ and jdk
import java.io.*; public class IO_Tester { public static int readInt() { byte b[] = new byte[16]; String str; try{ System.in.read(b); str = (new String(b)).trim(); return Integer.parseInt(str); } catch (IOException e) { System.out.println("Exception: " + e.toString()); return 0; } } } public static float readFloat() { byte b[] = new byte[16]; String str; try{ System.in.read(b); str = (new String(b)).trim(); return Float.parseFloat(str); } catch (IOException e) { System.out.println("Exception: " +e.toString()); return 0; } } public static String readString() { byte b[] = new byte[32]; String str; try { System.in.read(b); str = (new String(b)).trim(); return str; } catch(IOException e) { System.out.println("Exception: ")+e.toString()); return ""; } } public static boolean readBoolean() { byte b[] = new byte[16]; String str; try { System.in.read(b); str = (new String(b)).trim(); Boolean bool = new Boolean(str); return bool.booleanValue(); } catch (IOException e) { System.out.println("Exception: " +e.toString()); return false; } }