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
For more definitive information on all standard API classes, see the Java 2 API specification.