0

cant find scanner.

i am trying to do a alg with java.util.scanner and when i run it it shows that i dont have any package as scanner in eclipse. where do i find this scanner package. i am new in programming pls help

14th Oct 2017, 9:44 PM
Rafif Zahin
Rafif Zahin - avatar
2 Réponses
+ 3
Write import java.util.Scanner; at the top of your program.
15th Oct 2017, 4:39 AM
Rrestoring faith
Rrestoring faith - avatar
+ 2
Scanner is a class from java.util package so you have to write that with an uppercased letter! java.util.Scanner!
17th Oct 2017, 4:09 PM
Chriptus13
Chriptus13 - avatar