Correct Code For This Example,
September 23, 2010 at 12:05 PM
Hi Friends There is A small Mistake in this code here InputStream class has no readLine() method So there is error and also is has only read method that take integer
New Code for this Example Is bellow
If any one Like this Reply me about mY code
import java.io.*; public class IOExample1 {
public static void main(String arg[]) throws IOException{
InputStreamReader inp = new InputStreamReader(System.in) ; BufferedReader br = new BufferedReader(inp);