Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: noob question



Found the answer there.....
Just needed to do:

import java.util.Scanner;

public clas..............
   ............
   Scanner keyboard = new Scanner(System.in);

   .......
   ......
   intSomething = keyboard.nextInt();
   doubleSomething = keyboard.nextDouble();


   stringSomething = keyboard.next();
   

Steve
New to Mac w/Mac Pro
New to Java w/Wrox 'Beginning Java 2'



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >noob question (From: Steve Young <email@hidden>)
 >Re: noob question (From: Michael Macaluso <email@hidden>)
 >Re: noob question (From: Steve Young <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.