+ 1
Can character be taken input using scanner class?
4 Respostas
+ 2
Yes you need to do something like this.
char variableName = inputStreamName.next().charAt(0);
More explanations about that statement can be answered on stack overflow website
+ 2
thanks
+ 1
yes
0
Yes, all types in fact... long, int, byte etc