This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Scanner(System.in) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Scanner(System.in)" Watch "Scanner(System.in)" New topic
Author

Scanner(System.in)

Anup Om
Ranch Hand

Joined: Dec 30, 2009
Posts: 62
Hello,



Why doesn't it pause for input?

Thanks,


SCJP6
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

All you're doing is creating a scanner--you're not actually scanning.
 
wood burning stoves
 
subject: Scanner(System.in)
 
It's not a secret anymore!