Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Input console using java

Scanner sc = new Scanner(System.in);//Creating object of Scannr class
int x = sc.nextInt();//Getting input from user
 
PREVIOUS NEXT
Tagged: #Input #console #java
ADD COMMENT
Topic
Name
1+4 =