+ 1
I want more learn about the java user input.
java
2 Respuestas
+ 24
//what else left ?
https://www.sololearn.com/Discuss/1018108/?ref=app
+ 2
you can do it by importing java util package
or simply like this.
when you dont know about packages..
System.out.println("Enter user name");
java.util.Scanner s=new java.util.Scanner(System.in);
String x=s.next();
for Integer Input
int x=s.nextInt();