aspose file tools*
The moose likes Beginning Java and the fly likes Accepting User Input -- How? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Accepting User Input -- How?" Watch "Accepting User Input -- How?" New topic
Author

Accepting User Input -- How?

Art Teye
Greenhorn

Joined: Dec 20, 2001
Posts: 2
How can I accept input from the user during runtime (command line interface)?
For example, prompting the user to continue, then continuing or exiting based on their reply?
Thank you.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Try something like:


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Accepting User Input -- How?