0
What Identifier is compatible with scanner input
I don't know which identifier for storing data like 12 Is compatible with scanner
2 Respuestas
+ 1
int d;
Scanner scan = new Scanner(System.in);
d = scan.nextInt();
scan.close();
This is what I would use.
+ 1
thx