+ 1
char Input
How to read a char from input? Like we use nextInt() for integer input. How can we input a character?
5 ответов
+ 2
try "nextLine()" or "next()"
0
But nextLine()is for String. It can also get more than 1 character during input.
0
Thanks for the Help👍👍