| Author |
Console.reader.close() misunderstanding
|
Vadim Vararu
Ranch Hand
Joined: Jan 03, 2009
Posts: 147
|
|
Why we can read a line and the program prints if further if we close the reader?
|
If you think you've done too much, usually it means you've done too few.
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
|
Because you're not closing the input stream. Read the javadoc for Console ? Particularly the main description.
|
Joanne
|
 |
 |
|
|
subject: Console.reader.close() misunderstanding
|
|
|