jQuery in Action, 2nd edition*
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


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.
 
GeeCON Prague 2014
 
subject: Scanner(System.in)