Rob Spoor wrote:. . . Closing the Readers would close System.in which will cause it to become useless within the entire JVM until it exits.
I never knew that. Thank you.
Beware of Console; if you don't use the java tool to start your application, System.console() may return
null, and you will suffer an Exception.