Java Console Data Capture Methods and Comparison
Liu Hui-min · Computer Programming Skills & Maintenance · 2009
Data capturing from console is a basic function frequently applied in normal console applications, and this function can be implemented by one of the following classes afforded by JDK: System.in, Scanner, Console. The three different methods will have their own advantages and disadvantages. In the real application, the most suitable method can be chose based on the specific requirements from this application.