I have a couple of static methods, read from the console. In Maine, I launch both sequentially. Entered the data in one, closed the stream. The second method immediately falls out with an IOException .
Of course, you can put a BufferedReader in the class field and not close the stream, but I’m wondering if you can do without it.