+ 2
" Scanner(System.in).nextInt(); " why this Scanner is not working in sololearn.Could you explain me please. Thanks beforehand
2 ответов
+ 4
The scanner is the part of Java utility class. You need to import that first.
add this at the top.
import java.util.Scanner;
+ 1
Thanks