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