This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "input stuff" Watch "input stuff" New topic
Author

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="http://www.sudovi.com" target="_blank" rel="nofollow">http://www.sudovi.com</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....
=)
 
 
subject: input stuff
 
jQuery in Action, 3rd edition