0

How to using scanner in java

5th Jan 2017, 2:41 PM
KAMAL
3 odpowiedzi
0
Just write "import java.util.Scanner;" at the top of your codes
5th Jan 2017, 3:01 PM
Kiervey Maghanoy
Kiervey Maghanoy - avatar
0
import java.util.Scanner; class inputScanner { public static void main(String[ ] args) { Scanner inputs = new Scanner(System.in); System.out.println(inputs.nextLine()); } }
5th Jan 2017, 6:16 PM
ASNM
ASNM - avatar
0
ty
6th Jan 2017, 4:28 PM
KAMAL