Search found 1 match

by danielgomez
Sat Oct 18, 2008 5:29 pm
Forum: Java
Topic: How recognize EOF in Java using standar input
Replies: 2
Views: 6226

How recognize EOF in Java using standar input

Hi, im doing some problems but i dont really now how recognize the EOF in Java. If i use this to read from standar input: BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = ""; while ((line = br.readLine())!= null ){ /* */ } } Can anyone help me .. Thanks.

Go to advanced search