Using the System console.
Try the Scanner class.
Scanner (Java Platform SE 7 )
Scanner console = new Scanner(System.in);
double something = console.nextDouble();
Type: Posts; User: javapenguin
Using the System console.
Try the Scanner class.
Scanner (Java Platform SE 7 )
Scanner console = new Scanner(System.in);
double something = console.nextDouble();