scanner

Read interactive command-line input with Java

Java command-line FAQ: How do I read command line input from a Java application (interactively)?

Update: After reading this article, please look at the Comments section below for a newer version of our command line input class, which now uses the Java 5 Scanner class.

Syndicate content