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