Reading in input of user from keyboard problem (java.util.Scanner)

In old JDK 1.5 there was a class called java.util.Scanner

which would let you allow the user to input from the keyboard at the command prompt without any swing-GUI applets.

However in the newer version J2SDK1.4 this seems to be obsolete as it does not work... Does anybody know if there exists some new class which has the same scope?

[354 byte] By [matthew_ca] at [2007-11-26 20:19:50]
# 1
Don't crosspost please. http://forum.java.sun.com/thread.jspa?threadID=5143592
prometheuzza at 2007-7-10 0:43:58 > top of Java-index,Java Essentials,Java Programming...