Skip to content

Tag: system.in

Closing BufferedReader and System.in

I’ve noticed that if I close the BufferedReader, I won’t be able to insert input from the keyboard anymore, as System.in is somehow closed. Is there anyway I can keep br.close() (I need that in order to delete a file) and then add more input from the keyboard? Answer Looks like you need: http://co…