java - Take a char input from the Scanner - Stack Overflow
I am trying to find a way to take a char input from the keyboard. I tried using: ... You could take the first character from Scanner.next : char c = reader.next(). charAt(0) ...
stackoverflow.com |