Java I/O 03. The Scanner class - reading from System.in

preview_player
Показать описание


/**
* The Scanner class:
* You can use the Scanner in two ways:
* 2) to read from a file
**/

public class ScannerClassSystemIn {

public static void main(String[] args) throws Exception {

// To read from standard in,

}


}

}

Рекомендации по теме