Just a quick one here.
What are the benefits of using java.io.Console
as opposed to using a BufferedReader
wrapping an InputStreamReader
for System.in
?
Why would I use it?
Thanks for any advice!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…