0

SCANNER IN JDK 9

Hi all I am using JDK 9 in intelli j Unable to code using Scanner I import Scanner as below is it correct or need to be corrected please let me know import java.util.Scanner;

5th Feb 2018, 11:29 AM
NAVEEN KUMAR
NAVEEN KUMAR - avatar
3 Answers
+ 2
Seems right to me.
5th Feb 2018, 1:39 PM
Jonas Schröter
Jonas Schröter - avatar
+ 1
Can you use other functions like System.out.println()? If not, Idea probably doesn't know, where the JDK is and you should change its path in the settings.
5th Feb 2018, 1:57 PM
Moritz Vogel
Moritz Vogel - avatar
+ 1
What about posting your whole code?
5th Feb 2018, 1:58 PM
Jonas Schröter
Jonas Schröter - avatar