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 input stuff Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "input stuff" Watch "input stuff" New topic

input stuff

ryan headley
Ranch Hand

Joined: Jun 28, 2000
Posts: 156
I have always had a hard time with Input for a console program. What is the easy way to prompt someone for input and take that input from the keyboard??

Ryan Headley<br /><a href="" target="_blank" rel="nofollow"></a>
Apu Nahasapeemapetilon
Ranch Hand

Joined: Sep 06, 2000
Posts: 51
Apu, prefers using the readline method, than read, as read requires you to supply an array for input, and this can cause other behavior that is really not necessary.
Gotta love the naming convention...
ryan headley
Ranch Hand

Joined: Jun 28, 2000
Posts: 156
seems like alot of folks are messing with input from the console.
Thanx for your help....
I agree. Here's the link:
subject: input stuff
It's not a secret anymore!