Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Java (http://www.domainnameforum.org/forumdisplay.php?f=125)
-   -   Scanner Class (http://www.domainnameforum.org/showthread.php?t=63323)

Java 01-14-2010 09:11 PM

Scanner Class
 
Is there a function with the scanner class to allow for the user's input to just go on one line instead of two. I am using Scanner scan = new Scanner (System.in) with scan.nextInt and it is coming up with 10 4


All times are GMT -4. The time now is 08:30 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.