i start with that to do my work, but i have a problem in reading from the (kb),
import java.io.*;
class sack{
public static void main(String[] args) {
System.out.println("\n enter your string \n ");
InputStreamReader io= new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(io);
System.out.println("io"+br);
}
}
when it run it will not let me inter any thing
it just type all that
enter your string
iojava.io.BufferedReader@190d11
and said process complete
what is the problem please help
thanks in advance
This post has been edited by sarah waleed: 11 May 2011 - 12:08 PM

New Topic/Question
Reply




MultiQuote





|