input character from user in java without charAt code example Example: input char java char c = reader.next().charAt(0);