Why use Java io. Console?
•
Java
Hurry up here
Using Java io. What are the benefits of console instead of using BufferedReader with inputstreamreader for system in?
Why use it?
Thanks for any suggestions!
Solution
You can use Java io. Console presents an interactive command line to the user You can use system In completes all operations by itself, but you must realize precautions such as input completion or readpassword
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码