File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Accepting User Input -- How?" Watch "Accepting User Input -- How?" New topic

Accepting User Input -- How?

Art Teye

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"

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

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Accepting User Input -- How?
It's not a secret anymore!