can scanner in java read a charvalue code example
Example 1: java input character
import java.util.Scanner;
Scanner inp = new Scanner(System.in);
char character = inp.next().charAt(0);
Example 2: input char java
char c = reader.next().charAt(0);