Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java get input


import java.util.Scanner; 
//...
Scanner scan = new Scanner(System.in);
String s = scan.next();
int i = scan.nextInt();

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #java #input
ADD COMMENT
Topic
Name
1+2 =