+ 1

I have written the correct syntax of users input but then all also I cannot write the input after compiling.

Like import java.until.Scanner; Scanner game = new Scanner (System.in); System.out.println (game.nextLine ());

31st Aug 2019, 5:49 PM
Mayank Vardhan
Mayank Vardhan - avatar
2 Réponses
0
Try import java.util.*;
31st Aug 2019, 6:17 PM
id001x
id001x - avatar
0
It's not java.until.Scanner; It's java.util.Scanner ; You misspelled 'util'
31st Aug 2019, 7:35 PM
Harin Mehta
Harin Mehta - avatar