+ 1
java input?
How we can take input plz explain i am java beinger .
2 Réponses
+ 2
You can use the Scanner class
Scanner sc = new Scanner(System.in);
//For example:
int x = sc.nextInt();
String s = sc.nextLine();
How we can take input plz explain i am java beinger .