import java.io.*;
public class racker
{
private static BufferedReader stdin =
new BufferedReader( new InputStreamReader( System.in ) );
public static void main ( String [] args ) throws IOException
{
System.out.print( "Type some data for the program: " );
String input = stdin.readLine();
int number = Integer.parseInt( input );
System.out.println( "input = " + input );
}
}
it works fine with buffered input reader but when i use datainput stream it doesnt work ne reason it gives an error
unresolved complication problem ne reason why

New Topic/Question
Reply


MultiQuote






|