+ 1
How can Scanner read char?
I've Been trying but there's just Strings
2 Answers
+ 3
You can't, but you could do this:
for(char c : new Scanner(System.in).nextLine().toCharArray()) System.out.println(c);
I've Been trying but there's just Strings