head 1.4; access; symbols IT1FALL00:1.3; locks; strict; comment @# @; 1.4 date 2001.01.17.02.07.52; author dbc; state Exp; branches; next 1.3; 1.3 date 2000.10.05.17.53.55; author dbc; state Exp; branches; next 1.2; 1.2 date 2000.09.20.18.00.08; author dbc; state Exp; branches; next 1.1; 1.1 date 2000.09.18.23.31.01; author dbc; state Exp; branches; next ; desc @@ 1.4 log @Modified Files: hw1.html io.html Added Files: BufferedReaderTest.java.txt hosts.html Removed Files: BufferedReaderTest.java guidelines.html jdk.html @ text @ Simple input in Java

CIS 6930-01
Fall 2000


Simple input in Java

The Java file in here includes simple examples of reading keyboard input in Java.

Here is an example session. The strings "hello" and "47.3" are typed input:

    sirah% javac BufferedReaderTest.java
    sirah% java BufferedReaderTest
    hello
    s = hello
    47.3
    x = 47.3
@ 1.3 log @Modified Files: hw3.html io.html @ text @d16 1 a16 1 The Java file in here a27 4

For more definitive information on all standard API classes, see the Java 2 API specification. a30 9 @ 1.2 log @*** empty log message *** @ text @d16 1 a16 1 The Java file in here @ 1.1 log @*** empty log message *** @ text @d28 4 @