0
Java - I can't use scanner class..please help
I imported java.util, I typed in Scanner sc = newScanner (System.in); but it says it doesn't recognize this method. Please help me.
2 Answers
+ 3
Hmm. It seems, you haven't a space between "new" and "Scanner". So your program recognizes it as a method "newScanner()".
0
thanks will fix it :)