How to take user input of charactor in java code example Example: input char java char c = reader.next().charAt(0);